Options
All
  • Public
  • Public/Protected
  • All
Menu

Module nextra/createFileCopyAtomic

Index

Functions

createFileCopyAtomic

  • createFileCopyAtomic(source: string, destination: string): Promise<void>
  • Creates a file copy atomically, making all folders required to satisfy the given file path.

    function

    createFileCopyAtomic

    memberof

    fsn/nextra

    Parameters

    • source: string

      The path to the file you want to copy

    • destination: string

      The path to the file destination

    Returns Promise<void>

Const ensureFileCopyAtomic

  • ensureFileCopyAtomic(source: string, destination: string): Promise<void>

Generated using TypeDoc