-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Labels
bugSomething isn't working correctlySomething isn't working correctlygood first issueGood for newcomersGood for newcomersnode compat
Description
FileHandle class (in node:fs/promises) still misses the below methods:
ref: https://nodejs.org/api/fs.html#class-filehandle
- Event: 'close'
- filehandle.appendFile(data[, options]) feat(ext/node): implement FileHandle.appendFile(data[, options]) #31301
- filehandle.chmod(mode) feat(node/fs): Add a chmod method to the FileHandle class #27522
- filehandle.chown(uid, gid) fix(ext/node): add chown method to FileHandle class #27638
- filehandle.close() feat(node_compat): Add a close method to the FileHandle class. #19357
- filehandle.createReadStream([options]) fix(node/fs): add a createReadStream method to the FileHandle class #27591 fix(ext/node): add a createReadStream & createWriteStream methods to the FileHandle class #28700
- filehandle.createWriteStream([options]) fix(ext/node): add a createReadStream & createWriteStream methods to the FileHandle class #28700
- filehandle.datasync() fix(ext/node): add FileHandle#sync #27677
- filehandle.fd
- filehandle.read(buffer, offset, length, position) feat(node_compat): Add a read method to the FileHandle class #19359
- filehandle.read([options]) feat(node_compat): Add a read method to the FileHandle class #19359
- filehandle.read(buffer[, options]) feat(node_compat): Add a read method to the FileHandle class #19359
- filehandle.readableWebStream(options) feat(node/fs): implement FileHandle.readableWebStream() #31745
- filehandle.readFile(options)
- filehandle.readLines([options]) feat(ext/node): implement FileHandle.readLines() #31107
- filehandle.readv(buffers[, position]) feat(node): implement
FileHandle.readv()method #31943 - filehandle.stat([options]) fix(ext/node): add
fs.promises.fstatandFileHandle#stat#26719 - filehandle.sync() fix(ext/node): add FileHandle#sync #27677
- filehandle.truncate(len) fix(ext/node): add
truncatemethod to theFileHandleclass #27389 - filehandle.utimes(atime, mtime) fix(node/fs): add utimes method to the FileHandle class #27582
- filehandle.write(buffer, offset[, length[, position]]) feat(node_compat): Add a write method to the FileHandle class #19385
- filehandle.write(string[, position[, encoding]]) feat(node_compat): Add a write method to the FileHandle class #19385
- filehandle.writeFile(data, options) fix(ext/node): add
FileHandle#writeFile#25555 - filehandle.writev(buffers[, position]) fix(ext/node): add
writevmethod toFileHandle#27563
Originally posted by @k-nasa in #19165 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't working correctlySomething isn't working correctlygood first issueGood for newcomersGood for newcomersnode compat