Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • FileSystem

Index

Properties

lstat?: { (arg0: string, arg1: FileSystemCallback<FileSystemStats>): void; (arg0: string, arg1: object, arg2: FileSystemCallback<string | Buffer>): void }

Type declaration

readFile: { (arg0: string, arg1: FileSystemCallback<string | Buffer>): void; (arg0: string, arg1: object, arg2: FileSystemCallback<string | Buffer>): void }

Type declaration

readJson?: { (arg0: string, arg1: FileSystemCallback<object>): void; (arg0: string, arg1: object, arg2: FileSystemCallback<object>): void }

Type declaration

readlink: { (arg0: string, arg1: FileSystemCallback<string | Buffer>): void; (arg0: string, arg1: object, arg2: FileSystemCallback<string | Buffer>): void }

Type declaration

stat: { (arg0: string, arg1: FileSystemCallback<FileSystemStats>): void; (arg0: string, arg1: object, arg2: FileSystemCallback<string | Buffer>): void }

Type declaration

Methods

  • readdir(arg0: string, arg1?: null | "ascii" | "utf8" | "utf16le" | "ucs2" | "latin1" | "binary" | ((arg0?: null | ErrnoException, arg1?: (string | Buffer)[] | typeof Dirent[]) => void) | ReaddirOptions | "utf-8" | "ucs-2" | "base64" | "base64url" | "hex" | "buffer", arg2?: (arg0?: null | ErrnoException, arg1?: (string | Buffer)[] | typeof Dirent[]) => void): void
  • Parameters

    • arg0: string
    • Optional arg1: null | "ascii" | "utf8" | "utf16le" | "ucs2" | "latin1" | "binary" | ((arg0?: null | ErrnoException, arg1?: (string | Buffer)[] | typeof Dirent[]) => void) | ReaddirOptions | "utf-8" | "ucs-2" | "base64" | "base64url" | "hex" | "buffer"
    • Optional arg2: (arg0?: null | ErrnoException, arg1?: (string | Buffer)[] | typeof Dirent[]) => void
        • (arg0?: null | ErrnoException, arg1?: (string | Buffer)[] | typeof Dirent[]): void
        • Parameters

          • Optional arg0: null | ErrnoException
          • Optional arg1: (string | Buffer)[] | typeof Dirent[]

          Returns void

    Returns void