Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BasePortableFakeFS

Hierarchy

Constructors

Protected constructor

Properties

pathUtils

Methods

Abstract accessPromise

  • accessPromise(p: PortablePath, mode?: undefined | number): Promise<void>

Abstract accessSync

  • accessSync(p: PortablePath, mode?: undefined | number): void

Abstract appendFilePromise

Abstract appendFileSync

changeFilePromise

changeFileSync

Abstract chmodPromise

  • chmodPromise(p: PortablePath, mask: number): Promise<void>

Abstract chmodSync

Abstract chownPromise

  • chownPromise(p: PortablePath, uid: number, gid: number): Promise<void>

Abstract chownSync

  • chownSync(p: PortablePath, uid: number, gid: number): void

Abstract closePromise

  • closePromise(fd: number): Promise<void>

Abstract closeSync

  • closeSync(fd: number): void

Abstract copyFilePromise

Abstract copyFileSync

copyPromise

  • copyPromise(destination: PortablePath, source: PortablePath, options?: undefined | object): Promise<void>
  • copyPromise<P2>(destination: PortablePath, source: P2, options: object): Promise<void>

copySync

Abstract createReadStream

Abstract createWriteStream

Abstract existsPromise

Abstract existsSync

Abstract fchmodPromise

  • fchmodPromise(fd: number, mask: number): Promise<void>

Abstract fchmodSync

  • fchmodSync(fd: number, mask: number): void

Abstract fchownPromise

  • fchownPromise(fd: number, uid: number, gid: number): Promise<void>

Abstract fchownSync

  • fchownSync(fd: number, uid: number, gid: number): void

Abstract fstatPromise

  • fstatPromise(fd: number): Promise<Stats>
  • fstatPromise(fd: number, opts: object): Promise<BigIntStats>
  • fstatPromise(fd: number, opts?: undefined | object): Promise<BigIntStats | Stats>

Abstract fstatSync

Abstract ftruncatePromise

  • ftruncatePromise(fd: number, len?: undefined | number): Promise<void>

Abstract ftruncateSync

  • ftruncateSync(fd: number, len?: undefined | number): void

genTraversePromise

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

Abstract getExtractHint

Abstract getRealPath

Abstract linkPromise

Abstract linkSync

lockPromise

  • lockPromise<T>(affectedPath: PortablePath, callback: function): Promise<T>

Abstract lstatPromise

Abstract lstatSync

Optional lutimesPromise

  • lutimesPromise(p: PortablePath, atime: Date | string | number, mtime: Date | string | number): Promise<void>

Optional lutimesSync

  • lutimesSync(p: PortablePath, atime: Date | string | number, mtime: Date | string | number): void

Abstract mkdirPromise

Abstract mkdirSync

mkdirpPromise

  • mkdirpPromise(p: PortablePath, __namedParameters?: object): Promise<string | undefined>

mkdirpSync

  • mkdirpSync(p: PortablePath, __namedParameters?: object): string | undefined

movePromise

moveSync

Abstract openPromise

  • openPromise(p: PortablePath, flags: string, mode?: undefined | number): Promise<number>

Abstract openSync

  • openSync(p: PortablePath, flags: string, mode?: undefined | number): number

Abstract opendirPromise

Abstract opendirSync

preserveTimePromise

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

preserveTimeSync

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

Abstract readFilePromise

Abstract readFileSync

readJsonPromise

readJsonSync

Abstract readPromise

  • readPromise(fd: number, buffer: Buffer, offset?: undefined | number, length?: undefined | number, position?: number | null): Promise<number>

Abstract readSync

  • readSync(fd: number, buffer: Buffer, offset?: undefined | number, length?: undefined | number, position?: number | null): number

Abstract readdirPromise

Abstract readdirSync

Abstract readlinkPromise

Abstract readlinkSync

Abstract realpathPromise

Abstract realpathSync

removePromise

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

removeSync

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

Abstract renamePromise

Abstract renameSync

Abstract resolve

Abstract rmdirPromise

Abstract rmdirSync

Abstract statPromise

Abstract statSync

Abstract symlinkPromise

Abstract symlinkSync

Abstract truncatePromise

  • truncatePromise(p: PortablePath, len?: undefined | number): Promise<void>

Abstract truncateSync

  • truncateSync(p: PortablePath, len?: undefined | number): void

Abstract unlinkPromise

Abstract unlinkSync

Abstract unwatchFile

Abstract utimesPromise

  • utimesPromise(p: PortablePath, atime: Date | string | number, mtime: Date | string | number): Promise<void>

Abstract utimesSync

  • utimesSync(p: PortablePath, atime: Date | string | number, mtime: Date | string | number): void

Abstract watch

Abstract watchFile

Abstract writeFilePromise

Abstract writeFileSync

writeJsonPromise

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

writeJsonSync

Abstract writePromise

  • writePromise(fd: number, buffer: Buffer, offset?: undefined | number, length?: undefined | number, position?: undefined | number): Promise<number>
  • writePromise(fd: number, buffer: string, position?: undefined | number): Promise<number>

Abstract writeSync

  • writeSync(fd: number, buffer: Buffer, offset?: undefined | number, length?: undefined | number, position?: undefined | number): number
  • writeSync(fd: number, buffer: string, position?: undefined | number): number

Generated using TypeDoc