Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NodeFileSystem

Hierarchy

  • NodeFileSystem

Implements

Index

Methods

existsSync

  • existsSync(path: string): boolean

mkdir

  • mkdir(path: string, options: number | string | MakeDirectoryOptions | null): Promise<void>
  • Parameters

    • path: string
    • Optional options: number | string | MakeDirectoryOptions | null

    Returns Promise<void>

mkdirSync

  • mkdirSync(path: string, options: number | string | MakeDirectoryOptions | null): void

readFile

  • readFile(path: string, encoding: undefined | string): Promise<string>

readFileSync

  • readFileSync(path: string, encoding: string): string

stat

  • stat(path: string): Promise<Stats>

statSync

  • statSync(path: string): Stats

unlink

  • unlink(path: string): Promise<void>

unlinkSync

  • unlinkSync(path: string): void

utimes

  • utimes(path: string, atime: number, mtime: number): Promise<void>

utimesSync

  • utimesSync(path: string, atime: number, mtime: number): void

writeFile

  • writeFile(path: string, data: string): Promise<void>

writeFileSync

  • writeFileSync(path: string, data: string): void

Generated using TypeDoc