memory-fs icon indicating copy to clipboard operation
memory-fs copied to clipboard

rename is missing

Open cainrus opened this issue 7 years ago • 2 comments

fs api: https://nodejs.org/api/fs.html#fs_fs_rename_oldpath_newpath_callback

cainrus avatar Sep 18 '18 12:09 cainrus

@cainrus Is there a potential use case for rename in MemoryFileSystem?

Viijay-Kr avatar Oct 26 '18 06:10 Viijay-Kr

I had tried to mock real fs package with memory-fs to boost performance of multiple packages and stumbled upon the problem (missing rename). I don't know is it a problem for other users, but i thought that memory-fs will try to repeat fs API.

cainrus avatar Oct 26 '18 09:10 cainrus