UNPKG

fs-nextra

Version:

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

15 lines (14 loc) 567 B
/** * Creates an file copy, making all folders required to satisfy the given file path atomically. * @function ensureFileAtomic * @memberof fsn/nextra * @param file Path of the file you want to create */ /** * Creates an file copy, making all folders required to satisfy the given file path atomically. * @function createFileAtomic * @memberof fsn/nextra * @param file Path of the file you want to create */ export declare function createFileAtomic(file: string): Promise<void>; export declare const ensureFileAtomic: typeof createFileAtomic;