UNPKG

fs-nextra

Version:

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

11 lines (10 loc) 419 B
import { SymLinkType } from './createSymlink'; /** * Creates a soft file link atomically. * @function symlinkAtomic * @memberof fsn/nextra * @param source The source path of the file * @param destination The destination path of the file * @param type The type of symlink you are creating */ export declare function symlinkAtomic(source: string, destination: string, type?: SymLinkType): Promise<void>;