UNPKG

codevault

Version:

AI-powered semantic code search via Model Context Protocol

13 lines 745 B
export declare function computeFastHash(input: string | Buffer): Promise<string>; export interface MerkleEntry { shaFile: string; chunkShas: string[]; } export type MerkleTree = Record<string, MerkleEntry>; export declare function loadMerkle(basePath?: string): MerkleTree; export declare function saveMerkle(basePath?: string, merkle?: MerkleTree): void; export declare function toPosixPath(relativePath: string | null): string | null; export declare function normalizeToProjectPath(basePath?: string, filePath?: string): string | null; export declare function removeMerkleEntry(merkle: MerkleTree, relativePath: string): boolean; export declare function cloneMerkle(merkle: MerkleTree): MerkleTree; //# sourceMappingURL=merkle.d.ts.map