Skip to content

Commit

Permalink
fix(fslib): correct the FileHandle implementation (#3889)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
merceyz committed Jul 20, 2022
1 parent ca54d0c commit 2723082
Show file tree
Hide file tree
Showing 8 changed files with 917 additions and 97 deletions.
326 changes: 267 additions & 59 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2723082

Please sign in to comment.