Common/FileUtil: Rename Copy() to CopyRegularFile().

This is to clarify that it can only copy files, not folders.
This commit is contained in:
Admiral H. Curtiss 2023-02-22 01:54:41 +01:00
parent 3c4a21315d
commit e52aa52a66
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
6 changed files with 13 additions and 13 deletions

View file

@ -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)