Browse Source
service/fsp_srv: Implement CleanDirectoryRecursively
service/fsp_srv: Implement CleanDirectoryRecursively
This is the same behavior-wise as DeleteDirectoryRecursively, with the
only difference being that it doesn't delete the top level directory in
the hierarchy, so given:
root_dir/
- some_dir/
- File.txt
- OtherFile.txt
The end result is just:
root_dir/
pull/15/merge
5 changed files with 72 additions and 5 deletions
-
26src/core/file_sys/vfs.cpp
-
15src/core/file_sys/vfs.h
-
12src/core/hle/service/filesystem/filesystem.cpp
-
12src/core/hle/service/filesystem/filesystem.h
-
12src/core/hle/service/filesystem/fsp_srv.cpp
Write
Preview
Loading…
Cancel
Save
Reference in new issue