Options
All
  • Public
  • Public/Protected
  • All
Menu

System-lvel abstraction of a file. FsObject stands for "File System Object".

inner
memberof

module:system

Hierarchy

  • FsObject

Index

Constructors

Properties

Accessors

Constructors

constructor

  • new FsObject(system: System, relativePath: string, callback: function): FsObject
  • Creates an instance of FsObject.

    Parameters

    • system: System

      Parent system reference.

    • relativePath: string

      Path, relative to the system root.

    • callback: function

      Will call back with a promise.

        • (done: Promise<void>): void
        • Parameters

          • done: Promise<void>

          Returns void

    Returns FsObject

Properties

dir

dir: string

ext

ext: string

name

name: string

system

system: System

type

type: string

Accessors

base

  • get base(): string

path

  • get path(): any

Generated using TypeDoc