UNPKG

fs-nextra

Version:

Node.js fs next-gen extra (nextra) methods.

17 lines (16 loc) 698 B
/** * Creates a hard file link, making all folders required to satisfy the given file path atomically. * @function ensureLinkAtomic * @memberof fsn/nextra * @param source The source path of the file * @param destination The destination path of the file */ /** * Creates a hard file link, making all folders required to satisfy the given file path atomically. * @function createLinkAtomic * @memberof fsn/nextra * @param source The source path of the file * @param destination The destination path of the file */ export declare function createLinkAtomic(source: string, destination: string): Promise<void>; export declare const ensureLinkAtomic: typeof createLinkAtomic;