Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IFileSystem

Hierarchy

  • IFileSystem

Index

Methods

appendFileSync

  • appendFileSync(p: string, d: string): void
  • Parameters

    • p: string
    • d: string

    Returns void

copy

  • copy(source: string, destination: string, f: function, p: function): any
  • Parameters

    • source: string
    • destination: string
    • f: function
        • (file: string): boolean
        • Parameters

          • file: string

          Returns boolean

    • p: function
        • (err: string): void
        • Parameters

          • err: string

          Returns void

    Returns any

emptyDir

  • emptyDir(destination: string, p: function): any
  • Parameters

    • destination: string
    • p: function
        • (err: string): void
        • Parameters

          • err: string

          Returns void

    Returns any

existsSync

  • existsSync(folder: string): boolean
  • Parameters

    • folder: string

    Returns boolean

lstat

  • lstat(str: string, p: function): any
  • Parameters

    • str: string
    • p: function
        • Parameters

          Returns void

    Returns any

lstatSync

  • Parameters

    • mods: string

    Returns IFileStat

mkdirSync

  • mkdirSync(mods: string): any
  • Parameters

    • mods: string

    Returns any

readFileSync

  • readFileSync(p: string, opt?: any): string
  • Parameters

    • p: string
    • Optional opt: any

    Returns string

readdir

  • readdir(mods: string, p: function): any
  • Parameters

    • mods: string
    • p: function
        • (err: string, files: string[]): void
        • Parameters

          • err: string
          • files: string[]

          Returns void

    Returns any

readdirSync

  • readdirSync(p: string): string[]
  • Parameters

    • p: string

    Returns string[]

remove

  • remove(destinationPath: string, p: function): any
  • Parameters

    • destinationPath: string
    • p: function
        • (err: string): void
        • Parameters

          • err: string

          Returns void

    Returns any

rmdirSync

  • rmdirSync(p: string): any
  • Parameters

    • p: string

    Returns any

unlinkSync

  • unlinkSync(p: string): any
  • Parameters

    • p: string

    Returns any

writeFileSync

  • writeFileSync(p: string, d: string): any
  • Parameters

    • p: string
    • d: string

    Returns any

Generated using TypeDoc