Merge pull request #9305

de9c461 common: support boost filesystem copy_options. Co-authored-by: selsta <selsta@sent.at> (0xFFFC0000)
This commit is contained in:
luigi1111 2024-05-20 23:38:20 -05:00
commit 6c346eca03
No known key found for this signature in database
GPG key ID: F4ACA0183641E010
6 changed files with 33 additions and 10 deletions

View file

@ -67,6 +67,8 @@ namespace tools
}
};
void copy_file(const std::string& from, const std::string& to);
//! A file restricted to process owner AND process. Deletes file on destruction.
class private_file {
std::unique_ptr<std::FILE, close_file> m_handle;