aspen-core
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

Static nextId

nextId: (Anonymous function) = (() => {let id = 0return () => id++})()

Accessors

depth

depth:

Hierarchial depth of this item relative to the Root

disposed

disposed:

disposed status of this item

Once an item is disposed, it's best to let go of all references to it to avoid any memory leaks

fileName

fileName:

id

id:

parent

parent:

path

path:

Full absolute path of this item

root

root:

type

type:

Methods

addMetadata

  • addMetadata(withKey: string, value: any): void
  • Parameters

    • withKey: string
    • value: any

    Returns void

getMetadata

  • getMetadata(withKey: string): any

mv

  • Very much like unixs mv command

    Calling this method directly WILL NOT trigger onWillHandleWatchEvent and onDidHandleWatchEvent events

    Prefer using Root#inotify instead

    Parameters

    • to: Directory
    • Default value fname: string = this.fileName

    Returns void

removeMetadata

  • removeMetadata(withKey: string): void

Static checkRawFile

Static getFileEntryById

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc