mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-27 14:58:32 +00:00
Common/FileUtil: Rename Copy() to CopyRegularFile().
This is to clarify that it can only copy files, not folders.
This commit is contained in:
parent
3c4a21315d
commit
e52aa52a66
6 changed files with 13 additions and 13 deletions
|
@ -312,8 +312,7 @@ bool RenameSync(const std::string& srcFilename, const std::string& destFilename)
|
|||
return true;
|
||||
}
|
||||
|
||||
// copies file source_path to destination_path, returns true on success
|
||||
bool Copy(const std::string& source_path, const std::string& destination_path)
|
||||
bool CopyRegularFile(std::string_view source_path, std::string_view destination_path)
|
||||
{
|
||||
DEBUG_LOG_FMT(COMMON, "{}: {} --> {}", __func__, source_path, destination_path);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue