Class FileHandle
Methods
[(_a = kRefs, _b = kClosePromise, _c = kCloseResolve, _d = kCloseReject, kRef)]
- [(_a = kRefs, _b = kClosePromise, _c = kCloseResolve, _d = kCloseReject, kRef)](caller: any): void
appendFile
- appendFile(data: any, options: any): Promise<any>
-
Parameters
Returns Promise<any>
chmod
- chmod(mode: any): Promise<any>
-
Parameters
Returns Promise<any>
chown
- chown(uid: any, gid: any): Promise<any>
-
Parameters
Returns Promise<any>
createReadStream
- createReadStream(options: any): any
createWriteStream
- createWriteStream(options: any): any
read
- read(bufferOrOptions: any, offset: any, length: any, position: any): Promise<object>
-
Parameters
-
bufferOrOptions: any
-
offset: any
-
length: any
-
position: any
Returns Promise<object>
readFile
- readFile(options: any): Promise<any>
-
Parameters
Returns Promise<any>
readLines
- readLines(options: any): Interface
-
Parameters
Returns Interface
readv
- readv(buffers: any, position: any): void
-
Parameters
-
buffers: any
-
position: any
Returns void
stat
- stat(opts: any): Promise<any>
-
Parameters
Returns Promise<any>
truncate
- truncate(len: any): Promise<any>
-
Parameters
Returns Promise<any>
utimes
- utimes(atime: any, mtime: any): void
write
- write(...args: any[]): Promise<object>
-
Parameters
Returns Promise<object>
writeFile
- writeFile(data: any, options: any): Promise<void>
-
Parameters
Returns Promise<void>
writev
- writev(buffers: any, position: any): Promise<object>
-
Parameters
-
buffers: any
-
position: any
Returns Promise<object>