Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Folder

Hierarchy

Index

Properties

isKnown

isKnown: boolean

lastModified

lastModified: Date

name

name: string

parent

parent: Folder

path

path: string

Methods

clear

  • clear(): Promise<any>
  • Returns 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
  • Parameters

    • name: string

    Returns boolean

eachEntity

  • eachEntity(onEntity: function): any
  • Parameters

    Returns any

getEntities

  • Returns Promise<Array<FileSystemEntity>>

getEntitiesSync

  • Parameters

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

          • error: any

          Returns any

    Returns Array<FileSystemEntity>

getFile

  • getFile(name: string): File
  • Parameters

    • name: string

    Returns File

getFolder

  • getFolder(name: string): Folder
  • Parameters

    • name: string

    Returns Folder

remove

  • remove(): Promise<any>

removeSync

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

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

          • error: any

          Returns any

    Returns void

rename

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

    • newName: string

    Returns Promise<any>

renameSync

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

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

          • error: any

          Returns any

    Returns void

Static exists

  • exists(path: string): boolean
  • Parameters

    • path: string

    Returns boolean

Static fromPath

  • fromPath(path: string): Folder
  • Parameters

    • path: string

    Returns 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