[Bug] Missing functions in the fslib #1651
Labels
bug
Something isn't working
good first issue
Good for newcomers
upholded
Real issues without formal reproduction
Describe the bug
The fslib is missing the following list of functions from the
fs
module:cp
(experimental)fchmod
feat(fslib): addfchmod
support #4466fchown
feat(fslib): addfchown
support #4801fdatasync
fsync
ftruncate
feat(fslib): addftruncate
support #4477futimes
lchmod
lchown
mkdir
recursive: true
needs to return the created directory.fix(fslib): make recursive mkdir return the first created directory #4462
readv
rm
writev
throwIfNoEntry
support #4475To 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).The text was updated successfully, but these errors were encountered: