Open arcanis opened 4 years ago
Good night, I am and a friend we are starting to contribute with free software and contribute to this edition
I've updated the OP with the currently missing functions.
What's the status on this issue? These functions still need implementing?
Describe the bug
The fslib is missing the following list of functions from the
fs
module:cp
(experimental)fchmod
https://github.com/yarnpkg/berry/pull/4466fchown
https://github.com/yarnpkg/berry/pull/4801fdatasync
fsync
ftruncate
https://github.com/yarnpkg/berry/pull/4477futimes
lchmod
lchown
mkdir
recursive: true
needs to return the created directory. https://github.com/yarnpkg/berry/pull/4462readv
rm
writev
To fix that, the best course of action is to add them in the
FakeFS
interface, see what are all the type errors that appear, and implement the functions in all the fs implementations (it's fine to just mark the ZipFS ones as unimplemented for now, although they shouldn't be too hard to implement anyway).