forked from wasmerio/wasmer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(vfs) Add test cases for
mem_fs::FileSystem::rename
.
This patch adds test cases for renaming a file or a directory, and for renaming + moving. That's different because this patch also implements a shortcut when a file or directory is simply renamed, we don't need to update the parent's children, only the modified time.
- Loading branch information
Showing
1 changed file
with
107 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters