diff options
author | bunnei <bunneidev@gmail.com> | 2021-05-03 00:12:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-03 00:12:07 +0200 |
commit | c17a59b58e4c78dfee976dabddd13c3c6fdf95b7 (patch) | |
tree | 7a935c140bd467ca9e5e3ca27547ee6fee14861f /src/core/file_sys/vfs_layered.cpp | |
parent | Merge pull request #6263 from Kewlan/folder-swap-expand-state (diff) | |
parent | file_sys: Resolve cases of variable shadowing (diff) | |
download | yuzu-c17a59b58e4c78dfee976dabddd13c3c6fdf95b7.tar yuzu-c17a59b58e4c78dfee976dabddd13c3c6fdf95b7.tar.gz yuzu-c17a59b58e4c78dfee976dabddd13c3c6fdf95b7.tar.bz2 yuzu-c17a59b58e4c78dfee976dabddd13c3c6fdf95b7.tar.lz yuzu-c17a59b58e4c78dfee976dabddd13c3c6fdf95b7.tar.xz yuzu-c17a59b58e4c78dfee976dabddd13c3c6fdf95b7.tar.zst yuzu-c17a59b58e4c78dfee976dabddd13c3c6fdf95b7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/file_sys/vfs_layered.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/core/file_sys/vfs_layered.cpp b/src/core/file_sys/vfs_layered.cpp index 434b03cec..192740058 100644 --- a/src/core/file_sys/vfs_layered.cpp +++ b/src/core/file_sys/vfs_layered.cpp @@ -45,12 +45,12 @@ VirtualDir LayeredVfsDirectory::GetDirectoryRelative(std::string_view path) cons return MakeLayeredDirectory(std::move(out)); } -VirtualFile LayeredVfsDirectory::GetFile(std::string_view name) const { - return GetFileRelative(name); +VirtualFile LayeredVfsDirectory::GetFile(std::string_view file_name) const { + return GetFileRelative(file_name); } -VirtualDir LayeredVfsDirectory::GetSubdirectory(std::string_view name) const { - return GetDirectoryRelative(name); +VirtualDir LayeredVfsDirectory::GetSubdirectory(std::string_view subdir_name) const { + return GetDirectoryRelative(subdir_name); } std::string LayeredVfsDirectory::GetFullPath() const { @@ -105,24 +105,24 @@ VirtualDir LayeredVfsDirectory::GetParentDirectory() const { return dirs[0]->GetParentDirectory(); } -VirtualDir LayeredVfsDirectory::CreateSubdirectory(std::string_view name) { +VirtualDir LayeredVfsDirectory::CreateSubdirectory(std::string_view subdir_name) { return nullptr; } -VirtualFile LayeredVfsDirectory::CreateFile(std::string_view name) { +VirtualFile LayeredVfsDirectory::CreateFile(std::string_view file_name) { return nullptr; } -bool LayeredVfsDirectory::DeleteSubdirectory(std::string_view name) { +bool LayeredVfsDirectory::DeleteSubdirectory(std::string_view subdir_name) { return false; } -bool LayeredVfsDirectory::DeleteFile(std::string_view name) { +bool LayeredVfsDirectory::DeleteFile(std::string_view file_name) { return false; } -bool LayeredVfsDirectory::Rename(std::string_view name_) { - name = name_; +bool LayeredVfsDirectory::Rename(std::string_view new_name) { + name = new_name; return true; } |