Options
All
  • Public
  • Public/Protected
  • All
Menu

Module nextra/createFileCopy

Index

Functions

createFileCopy

  • createFileCopy(source: string, destination: string, atomic?: boolean): Promise<void>
  • Creates an file copy, making all folders required to satisfy the given file path.

    function

    createFileCopy

    memberof

    fsn/nextra

    Parameters

    • source: string

      The path to the file you want to copy

    • destination: string

      The path to the file destination

    • atomic: boolean = false

      Whether the operation should run atomically

    Returns Promise<void>

Const ensureFileCopy

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

Generated using TypeDoc