Options
All
  • Public
  • Public/Protected
  • All
Menu

Module nextra/createLink

Index

Functions

createLink

  • createLink(source: string, destination: string, atomic?: boolean): Promise<void>
  • Creates a hard file link, making all folders required to satisfy the given file path.

    function

    createLink

    memberof

    fsn/nextra

    Parameters

    • source: string

      The source path of the file

    • destination: string

      The destination path of the file

    • atomic: boolean = false

      Whether the operation should run atomically

    Returns Promise<void>

Const ensureLink

  • ensureLink(source: string, destination: string, atomic?: boolean): Promise<void>
  • Parameters

    • source: string
    • destination: string
    • atomic: boolean = false

    Returns Promise<void>

Generated using TypeDoc