Open CMCDragonkai opened 2 years ago
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.
rm
rmdir
mkdirExists
FileSystem
fsPromises.rm
Specification
The
rm
method takes over some of the functionality ofrmdir
. Thisrm
method was introduced in Node 14.14. I believe some of our uses of EFS may start usingrm
instead ofrmdir
. It's probably a good idea to supportrm
as well.Additional context
mkdirExists
didn't work, and it's because theFileSystem
type in PK is not fulfilled by EFS atm due to the lack ofrm
.Tasks
rm
andfsPromises.rm
in NodeJS https://nodejs.org/api/fs.htmlrm
methodrmdir
even though they are deprecated in Node FS.