Open
Description
Specification
The rm
method takes over some of the functionality of rmdir
. This rm
method was introduced in Node 14.14. I believe some of our uses of EFS may start using rm
instead of rmdir
. It's probably a good idea to support rm
as well.
Additional context
- Introducing vault sharing and the restrictions of pulling and cloning with vault permissions Polykey#266 (comment) - was confused over why the
mkdirExists
didn't work, and it's because theFileSystem
type in PK is not fulfilled by EFS atm due to the lack ofrm
.
Tasks
- Investigate the docs for
rm
andfsPromises.rm
in NodeJS https://nodejs.org/api/fs.html - Add in the
rm
method - Keep the old options available in
rmdir
even though they are deprecated in Node FS.