@launchql/core
Version:
LaunchQL Package and Migration Tools
13 lines (12 loc) • 370 B
TypeScript
/**
* Generate SHA256 hash of a file's contents
*/
export declare function hashFile(filePath: string): Promise<string>;
/**
* Generate SHA256 hash of a string
*/
export declare function hashString(content: string): string;
/**
* Generate SHA256 hash of a SQL file's parsed and cleaned AST
*/
export declare function hashSqlFile(filePath: string): Promise<string>;