mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Common/FileUtil: Rename Copy() to CopyRegularFile().
This is to clarify that it can only copy files, not folders.
This commit is contained in:
@@ -59,7 +59,7 @@ static bool CopyBackupFile(const std::string& path_from, const std::string& path
|
||||
|
||||
File::CreateFullPath(path_to);
|
||||
|
||||
return File::Copy(path_from, path_to);
|
||||
return File::CopyRegularFile(path_from, path_to);
|
||||
}
|
||||
|
||||
static void DeleteBackupFile(const std::string& file_name)
|
||||
|
||||
Reference in New Issue
Block a user