Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "fs"

Index

Variables

Let fs

Functions

appendFileSync

  • appendFileSync(...args: Parameters<fsObjType["appendFileSync"]>): any
  • Parameters

    • Rest ...args: Parameters<fsObjType["appendFileSync"]>

    Returns any

chmodSync

  • chmodSync(...args: Parameters<fsObjType["chmodSync"]>): any
  • Parameters

    • Rest ...args: Parameters<fsObjType["chmodSync"]>

    Returns any

closeSync

  • closeSync(...args: Parameters<fsObjType["closeSync"]>): any
  • Parameters

    • Rest ...args: Parameters<fsObjType["closeSync"]>

    Returns any

copyFileSync

  • copyFileSync(...args: Parameters<fsObjType["copyFileSync"]>): any
  • Parameters

    • Rest ...args: Parameters<fsObjType["copyFileSync"]>

    Returns any

existsSync

  • existsSync(...args: Parameters<fsObjType["existsSync"]>): any
  • Parameters

    • Rest ...args: Parameters<fsObjType["existsSync"]>

    Returns any

getFs

linkSync

  • linkSync(...args: Parameters<fsObjType["linkSync"]>): any
  • Parameters

    • Rest ...args: Parameters<fsObjType["linkSync"]>

    Returns any

lstatSync

  • lstatSync(...args: Parameters<fsObjType["lstatSync"]>): any
  • Parameters

    • Rest ...args: Parameters<fsObjType["lstatSync"]>

    Returns any

mkdirSync

  • mkdirSync(...args: Parameters<fsObjType["mkdirSync"]>): any
  • Parameters

    • Rest ...args: Parameters<fsObjType["mkdirSync"]>

    Returns any

openSync

  • openSync(...args: Parameters<fsObjType["openSync"]>): any
  • Parameters

    • Rest ...args: Parameters<fsObjType["openSync"]>

    Returns any

readFileSync

  • readFileSync(...args: Parameters<fsObjType["readFileSync"]>): any
  • Parameters

    • Rest ...args: Parameters<fsObjType["readFileSync"]>

    Returns any

readdirSync

  • readdirSync(path: string): any
  • Parameters

    • path: string

    Returns any

renameSync

  • renameSync(...args: Parameters<fsObjType["renameSync"]>): any
  • Parameters

    • Rest ...args: Parameters<fsObjType["renameSync"]>

    Returns any

rmdirSync

  • rmdirSync(...args: Parameters<fsObjType["rmdirSync"]>): any
  • Parameters

    • Rest ...args: Parameters<fsObjType["rmdirSync"]>

    Returns any

setFs

  • this function allows you to override the fs module that fs-pro uses

    note

    the watch method must follow the "node-watch" package api not node fs

    Parameters

    Returns void

statSync

  • statSync(path: string): Stats

symlinkSync

  • symlinkSync(...args: Parameters<fsObjType["linkSync"]>): any
  • Parameters

    • Rest ...args: Parameters<fsObjType["linkSync"]>

    Returns any

tmpDir

  • tmpDir(): any

tmpFile

  • tmpFile(): any

truncateSync

  • truncateSync(...args: Parameters<fsObjType["truncateSync"]>): any
  • Parameters

    • Rest ...args: Parameters<fsObjType["truncateSync"]>

    Returns any

unlinkSync

  • unlinkSync(...args: Parameters<fsObjType["unlinkSync"]>): any
  • Parameters

    • Rest ...args: Parameters<fsObjType["unlinkSync"]>

    Returns any

watch

  • watch(...args: Parameters<fsObjType["watch"]>): any
  • Parameters

    • Rest ...args: Parameters<fsObjType["watch"]>

    Returns any

writeFileSync

  • writeFileSync(...args: Parameters<fsObjType["writeFileSync"]>): any
  • Parameters

    • Rest ...args: Parameters<fsObjType["writeFileSync"]>

    Returns any

Generated using TypeDoc