Function assertNotExists

  • Assert that a file or directory does not exist.

    Parameters

    Returns void

  • Assert that a file or directory does not exist.

    Parameters

    • path: string

      file or directory path

    • err: string

      error code [ERR_FS_ENSURE_NOT_EXISTS_EEXIST]

    • fn: NoParamCallback

      callback (err)

    Returns void

  • Assert that a file or directory does not exist.

    Parameters

    • path: string

      file or directory path

    • Optional err: string

      error code [ERR_FS_ENSURE_NOT_EXISTS_EEXIST]

    Returns Promise<void>

Generated using TypeDoc