Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MountFS

Hierarchy

Constructors

constructor

  • new MountFS(__namedParameters: object): MountFS
  • Parameters

    • __namedParameters: object
      • baseFs: NodeFS
      • factoryPromise: any
      • factorySync: any
      • filter: null
      • getMountPoint: any
      • magicByte: number
      • maxAge: number
      • maxOpenFiles: number
      • typeCheck: number
      • useCache: boolean

    Returns MountFS

Methods

accessPromise

  • accessPromise(p: any, mode: any): Promise<any>

accessSync

  • accessSync(p: any, mode: any): any

appendFilePromise

  • appendFilePromise(p: any, content: any, opts: any): Promise<any>
  • Parameters

    • p: any
    • content: any
    • opts: any

    Returns Promise<any>

appendFileSync

  • appendFileSync(p: any, content: any, opts: any): any
  • Parameters

    • p: any
    • content: any
    • opts: any

    Returns any

changeFileBufferPromise

  • changeFileBufferPromise(p: any, content: any, __namedParameters?: object): Promise<void>

changeFileBufferSync

  • changeFileBufferSync(p: any, content: any, __namedParameters?: object): void

changeFilePromise

  • changeFilePromise(p: any, content: any, opts?: object): Promise<void>

changeFileSync

  • changeFileSync(p: any, content: any, opts?: object): void

changeFileTextPromise

  • changeFileTextPromise(p: any, content: any, __namedParameters?: object): Promise<void>

changeFileTextSync

  • changeFileTextSync(p: any, content: any, __namedParameters?: object): void

checksumFilePromise

  • checksumFilePromise(path: any, __namedParameters?: object): Promise<string>

chmodPromise

  • chmodPromise(p: any, mask: any): Promise<any>

chmodSync

  • chmodSync(p: any, mask: any): any

chownPromise

  • chownPromise(p: any, uid: any, gid: any): Promise<any>
  • Parameters

    • p: any
    • uid: any
    • gid: any

    Returns Promise<any>

chownSync

  • chownSync(p: any, uid: any, gid: any): any

closePromise

  • closePromise(fd: any): Promise<any>

closeSync

  • closeSync(fd: any): any

copyFilePromise

  • copyFilePromise(sourceP: any, destP: any, flags?: number): Promise<any>
  • Parameters

    • sourceP: any
    • destP: any
    • Default value flags: number = 0

    Returns Promise<any>

copyFileSync

  • copyFileSync(sourceP: any, destP: any, flags?: number): any
  • Parameters

    • sourceP: any
    • destP: any
    • Default value flags: number = 0

    Returns any

copyPromise

  • copyPromise(destination: any, source: any, __namedParameters?: object): Promise<void>
  • Parameters

    • destination: any
    • source: any
    • Default value __namedParameters: object = {}
      • baseFs: this
      • linkStrategy: null
      • overwrite: boolean
      • stableSort: boolean
      • stableTime: boolean

    Returns Promise<void>

copySync

  • copySync(destination: any, source: any, __namedParameters?: object): void
  • Parameters

    • destination: any
    • source: any
    • Default value __namedParameters: object = {}
      • baseFs: this
      • overwrite: boolean

    Returns void

createReadStream

  • createReadStream(p: any, opts: any): any

createWriteStream

  • createWriteStream(p: any, opts: any): any

discardAndClose

  • discardAndClose(): void

existsPromise

  • existsPromise(p: any): Promise<any>

existsSync

  • existsSync(p: any): any

fchmodPromise

  • fchmodPromise(fd: any, mask: any): Promise<any>

fchmodSync

  • fchmodSync(fd: any, mask: any): any

fchownPromise

  • fchownPromise(fd: any, uid: any, gid: any): Promise<any>
  • Parameters

    • fd: any
    • uid: any
    • gid: any

    Returns Promise<any>

fchownSync

  • fchownSync(fd: any, uid: any, gid: any): any

findMount

  • findMount(p: any): null | object

fstatPromise

  • fstatPromise(fd: any, opts: any): Promise<any>

fstatSync

  • fstatSync(fd: any, opts: any): any

ftruncatePromise

  • ftruncatePromise(fd: any, len: any): Promise<any>

ftruncateSync

  • ftruncateSync(fd: any, len: any): any

genTraversePromise

  • genTraversePromise(init: any, __namedParameters?: object): AsyncGenerator<any, void, unknown>

getExtractHint

  • getExtractHint(hints: any): boolean

getMountPromise

  • getMountPromise(p: any, accept: any): Promise<any>

getMountSync

  • getMountSync(p: any, accept: any): any

getRealPath

  • getRealPath(): string

limitOpenFiles

  • limitOpenFiles(max: any): void

linkPromise

  • linkPromise(existingP: any, newP: any): Promise<any>
  • Parameters

    • existingP: any
    • newP: any

    Returns Promise<any>

linkSync

  • linkSync(existingP: any, newP: any): any

lockPromise

  • lockPromise(affectedPath: any, callback: any): Promise<any>

lstatPromise

  • lstatPromise(p: any, opts: any): Promise<any>

lstatSync

  • lstatSync(p: any, opts: any): any

lutimesPromise

  • lutimesPromise(p: any, atime: any, mtime: any): Promise<any>
  • Parameters

    • p: any
    • atime: any
    • mtime: any

    Returns Promise<any>

lutimesSync

  • lutimesSync(p: any, atime: any, mtime: any): any

makeCallPromise

  • makeCallPromise(p: any, discard: any, accept: any, __namedParameters?: object): Promise<any>
  • Parameters

    • p: any
    • discard: any
    • accept: any
    • Default value __namedParameters: object = {}
      • requireSubpath: boolean

    Returns Promise<any>

makeCallSync

  • makeCallSync(p: any, discard: any, accept: any, __namedParameters?: object): any
  • Parameters

    • p: any
    • discard: any
    • accept: any
    • Default value __namedParameters: object = {}
      • requireSubpath: boolean

    Returns any

mkdirPromise

  • mkdirPromise(p: any, opts: any): Promise<any>

mkdirSync

  • mkdirSync(p: any, opts: any): any

mkdirpPromise

  • mkdirpPromise(p: any, __namedParameters?: object): Promise<any>

mkdirpSync

  • mkdirpSync(p: any, __namedParameters?: object): any

movePromise

  • movePromise(fromP: any, toP: any): Promise<void>

moveSync

  • moveSync(fromP: any, toP: any): void

openPromise

  • openPromise(p: any, flags: any, mode: any): Promise<any>
  • Parameters

    • p: any
    • flags: any
    • mode: any

    Returns Promise<any>

openSync

  • openSync(p: any, flags: any, mode: any): any

opendirPromise

  • opendirPromise(p: any, opts: any): Promise<any>

opendirSync

  • opendirSync(p: any, opts: any): any

preserveTimePromise

  • preserveTimePromise(p: any, cb: any): Promise<void>

preserveTimeSync

  • preserveTimeSync(p: any, cb: any): Promise<void>

readFilePromise

  • readFilePromise(p: any, encoding: any): Promise<any>
  • Parameters

    • p: any
    • encoding: any

    Returns Promise<any>

readFileSync

  • readFileSync(p: any, encoding: any): any

readJsonPromise

  • readJsonPromise(p: any): Promise<any>

readJsonSync

  • readJsonSync(p: any): any

readPromise

  • readPromise(fd: any, buffer: any, offset: any, length: any, position: any): Promise<any>
  • Parameters

    • fd: any
    • buffer: any
    • offset: any
    • length: any
    • position: any

    Returns Promise<any>

readSync

  • readSync(fd: any, buffer: any, offset: any, length: any, position: any): any
  • Parameters

    • fd: any
    • buffer: any
    • offset: any
    • length: any
    • position: any

    Returns any

readdirPromise

  • readdirPromise(p: any, opts: any): Promise<any>

readdirSync

  • readdirSync(p: any, opts: any): any

readlinkPromise

  • readlinkPromise(p: any): Promise<any>

readlinkSync

  • readlinkSync(p: any): any

realpathPromise

  • realpathPromise(p: any): Promise<any>

realpathSync

  • realpathSync(p: any): any

remapFd

  • remapFd(mountFs: any, fd: any): number

removePromise

  • removePromise(p: any, __namedParameters?: object): Promise<void>
  • Parameters

    • p: any
    • Default value __namedParameters: object = {}
      • maxRetries: number
      • recursive: boolean

    Returns Promise<void>

removeSync

  • removeSync(p: any, __namedParameters?: object): void

renamePromise

  • renamePromise(oldP: any, newP: any): Promise<any>

renameSync

  • renameSync(oldP: any, newP: any): any

resolve

  • resolve(p: any): any

rmdirPromise

  • rmdirPromise(p: any, opts: any): Promise<any>

rmdirSync

  • rmdirSync(p: any, opts: any): any

saveAndClose

  • saveAndClose(): void

statPromise

  • statPromise(p: any, opts: any): Promise<any>

statSync

  • statSync(p: any, opts: any): any

symlinkPromise

  • symlinkPromise(target: any, p: any, type: any): Promise<any>
  • Parameters

    • target: any
    • p: any
    • type: any

    Returns Promise<any>

symlinkSync

  • symlinkSync(target: any, p: any, type: any): any

truncatePromise

  • truncatePromise(p: any, len: any): Promise<any>

truncateSync

  • truncateSync(p: any, len: any): any

unlinkPromise

  • unlinkPromise(p: any): Promise<any>

unlinkSync

  • unlinkSync(p: any): any

unwatchFile

  • unwatchFile(p: any, cb: any): any

utimesPromise

  • utimesPromise(p: any, atime: any, mtime: any): Promise<any>
  • Parameters

    • p: any
    • atime: any
    • mtime: any

    Returns Promise<any>

utimesSync

  • utimesSync(p: any, atime: any, mtime: any): any

watch

  • watch(p: any, a: any, b: any): any

watchFile

  • watchFile(p: any, a: any, b: any): any

writeFilePromise

  • writeFilePromise(p: any, content: any, opts: any): Promise<any>
  • Parameters

    • p: any
    • content: any
    • opts: any

    Returns Promise<any>

writeFileSync

  • writeFileSync(p: any, content: any, opts: any): any
  • Parameters

    • p: any
    • content: any
    • opts: any

    Returns any

writeJsonPromise

  • writeJsonPromise(p: any, data: any): Promise<any>

writeJsonSync

  • writeJsonSync(p: any, data: any): any

writePromise

  • writePromise(fd: any, buffer: any, offset: any, length: any, position: any): Promise<any>
  • Parameters

    • fd: any
    • buffer: any
    • offset: any
    • length: any
    • position: any

    Returns Promise<any>

writeSync

  • writeSync(fd: any, buffer: any, offset: any, length: any, position: any): any
  • Parameters

    • fd: any
    • buffer: any
    • offset: any
    • length: any
    • position: any

    Returns any

Generated using TypeDoc