Options
All
  • Public
  • Public/Protected
  • All
Menu

Module nextra/createSymlinkAtomic

Index

Functions

createSymlinkAtomic

  • createSymlinkAtomic(source: string, destination: string, type?: SymLinkType): Promise<void>
  • Creates a soft file link, making all folders required to satisfy the given file path atomically.

    function

    createSymlinkAtomic

    memberof

    fsn/nextra

    Parameters

    • source: string

      The source path of the file

    • destination: string

      The destination path of the file

    • Optional type: SymLinkType

      The type of symlink you are creating

    Returns Promise<void>

Const ensureSymlinkAtomic

  • ensureSymlinkAtomic(source: string, destination: string, type?: SymLinkType): Promise<void>

Generated using TypeDoc