knowhub
Version:
Synchronize AI coding–agent knowledge files (rules, templates, guidelines) across your project.
20 lines • 792 B
TypeScript
export declare function copyFile(src: string, dest: string, overwrite: boolean): Promise<{
created: boolean;
updated: boolean;
}>;
export declare function copyDirectory(srcDir: string, destDir: string, overwrite: boolean): Promise<{
created: number;
skipped: number;
}>;
export declare function symlinkOrCopy(src: string, dest: string, overwrite: boolean, isDir: boolean): Promise<{
created: boolean;
updated: boolean;
usedSymlink: boolean;
}>;
export declare function writeTextFile(dest: string, content: string, overwrite: boolean): Promise<{
created: boolean;
updated: boolean;
}>;
export declare function isDirectory(path: string): Promise<boolean>;
export declare function pathExists(path: string): Promise<boolean>;
//# sourceMappingURL=file.d.ts.map