feat(smartfs.directory): Add directory treeHash: deterministic content-based hashing of directory trees with streaming and algorithm option

This commit is contained in:
2025-12-02 08:35:37 +00:00
parent c73a931dad
commit ebc7de4503
6 changed files with 242 additions and 28 deletions

View File

@@ -215,3 +215,13 @@ export interface IWatchOptions {
filter?: string | RegExp | ((path: string) => boolean);
debounce?: number;
}
/**
* Tree hash options interface
*/
export interface ITreeHashOptions {
/**
* Hash algorithm to use (default: 'sha256')
*/
algorithm?: string;
}