Skip to content

Commit 2723082

Browse files
committed
fix(fslib): correct the FileHandle implementation (#3889)
* fix(fslib): map `FileHandle` functions to their fd counterpart * fix: `FileHandle.write` * refactor: avoid needing tslib update * test: `FileHandle.read` * test: `FileHandle.readFile` * test: `FileHandle.appendFile` * fix: `FileHandle.writeFile` * refactor: use symbols for internals * fix: ref counter * fix: throw when when using a closed FileHandle * fix: handle passing `FileHandle` to `fs.promises` functions * fix: `FileHandle.writev` * fix: `FileHandle.truncate` * fix: `FileHandle.chmod` * chore: versions * chore: changelog * chore: install
1 parent ca54d0c commit 2723082

File tree

8 files changed

+917
-97
lines changed

8 files changed

+917
-97
lines changed

.pnp.cjs

Lines changed: 267 additions & 59 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)