Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Folder

Hierarchy

Index

Constructors

constructor

Properties

_extension

_extension: string

_isKnown

_isKnown: boolean

_lastModified

_lastModified: Date

_locked

_locked: boolean

_name

_name: string

_path

_path: string

Accessors

isKnown

  • get (): boolean

lastModified

  • get (): Date

name

  • get (): string

parent

path

  • get (): string

Methods

clear

  • clear(): Promise<any>

clearSync

  • clearSync(onError?: function): void
  • Parameters

    • Optional onError: function
        • (error: any): void
        • Parameters

          • error: any

          Returns void

    Returns void

contains

  • contains(name: string): boolean

eachEntity

  • eachEntity(onEntity: function): void

getEntities

  • getEntities(): Promise<FileSystemEntity[]>

getEntitiesSync

  • getEntitiesSync(onError?: function): FileSystemEntity[]
  • Parameters

    • Optional onError: function
        • (error: any): any
        • Parameters

          • error: any

          Returns any

    Returns FileSystemEntity[]

getFile

  • getFile(name: string): File

getFolder

  • getFolder(name: string): Folder

remove

  • remove(): Promise<any>

removeSync

  • removeSync(onError?: function): void

rename

  • rename(newName: string): Promise<any>

renameSync

  • renameSync(newName: string, onError?: function): void

Static exists

  • exists(path: string): boolean

Static fromPath

  • fromPath(path: string): Folder

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