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
Tasks
- Investigate the docs for
rm and fsPromises.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.
Specification
The
rmmethod takes over some of the functionality ofrmdir. Thisrmmethod was introduced in Node 14.14. I believe some of our uses of EFS may start usingrminstead ofrmdir. It's probably a good idea to supportrmas well.Additional context
mkdirExistsdidn't work, and it's because theFileSystemtype in PK is not fulfilled by EFS atm due to the lack ofrm.Tasks
rmandfsPromises.rmin NodeJS https://nodejs.org/api/fs.htmlrmmethodrmdireven though they are deprecated in Node FS.