Other Type aliases
FSCopyParams
FSCopyParams: { dirMode?: undefined | number; flags?: undefined | number; fromPath: string; toPath: string }
Type declaration
-
Optional dirMode?: undefined | number
-
Optional flags?: undefined | number
-
fromPath: string
-
toPath: string
FSDeleteParams
FSDeleteParams: { filePath: string }
FSGetParams
FSGet
Params: { filePath: string; readStreamOptions?: StreamOptions }
FSPutParams
FSPut
Params: { body?: Readable; dirMode?: undefined | number; filePath: string; writeStreamOptions?: StreamOptions }
Type declaration
-
Optional body?: Readable
-
Optional dirMode?: undefined | number
-
filePath: string
-
Optional writeStreamOptions?: StreamOptions
Stats
Stats: { isDirectory: () => boolean; mtime: Date; size: number }
Type declaration
-
isDirectory: () => boolean
-
mtime: Date
-
size: number
StreamOptions
StreamOptions: { encoding?: "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | undefined; flags?: undefined | string; mode?: undefined | number }
Type declaration
-
Optional encoding?: "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | undefined
-
Optional flags?: undefined | string
-
Optional mode?: undefined | number