UNPKG

fs-nextra

Version:

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

17 lines (16 loc) 728 B
/** * Creates a file copy atomically, making all folders required to satisfy the given file path. * @function ensureFileCopyAtomic * @memberof fsn/nextra * @param source The path to the file you want to copy * @param destination The path to the file destination */ /** * Creates a file copy atomically, making all folders required to satisfy the given file path. * @function createFileCopyAtomic * @memberof fsn/nextra * @param source The path to the file you want to copy * @param destination The path to the file destination */ export declare function createFileCopyAtomic(source: string, destination: string): Promise<void>; export declare const ensureFileCopyAtomic: typeof createFileCopyAtomic;