feat(smartfs.directory): Add directory treeHash: deterministic content-based hashing of directory trees with streaming and algorithm option
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user