mirror of
https://github.com/monero-project/monero.git
synced 2025-08-09 00:32:22 -04:00
util: name replace_file arguments better
It was confusing unless you read code and the rename(2) man page.
This commit is contained in:
parent
423d3bb86b
commit
07b716bfea
2 changed files with 5 additions and 5 deletions
|
@ -145,7 +145,7 @@ namespace tools
|
|||
bool create_directories_if_necessary(const std::string& path);
|
||||
/*! \brief std::rename wrapper for nix and something strange for windows.
|
||||
*/
|
||||
std::error_code replace_file(const std::string& replacement_name, const std::string& replaced_name);
|
||||
std::error_code replace_file(const std::string& old_name, const std::string& new_name);
|
||||
|
||||
bool sanitize_locale();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue