Implements

  • FileAttributes

Constructors

Properties

created_at: Date
dir: string = '/'
is_file: boolean
is_symlink: boolean
mimetype: string
mode: string
mode_bits: string
modified_at: Date
name: string
parenServer: Server
size: number

Methods

  • Copy this file When copied, 'copy' is appended to the file name.

    Returns Promise<void>

  • Rename this file

    Parameters

    • newName: string

    Returns Promise<void>

  • Write new content to this file

    Parameters

    • content: string

    Returns Promise<string>