mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +00:00
Common/FileUtil: Strip trailing path separator in ScanDirectoryTree().
This commit is contained in:
parent
ee863e6722
commit
f76aaf65f6
2 changed files with 10 additions and 2 deletions
|
@ -176,7 +176,7 @@ bool Copy(const std::string& srcFilename, const std::string& destFilename);
|
|||
bool CreateEmptyFile(const std::string& filename);
|
||||
|
||||
// Recursive or non-recursive list of files and directories under directory.
|
||||
FSTEntry ScanDirectoryTree(const std::string& directory, bool recursive);
|
||||
FSTEntry ScanDirectoryTree(std::string directory, bool recursive);
|
||||
|
||||
// deletes the given directory and anything under it. Returns true on success.
|
||||
bool DeleteDirRecursively(const std::string& directory);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue