mirror of
https://github.com/monero-project/monero.git
synced 2025-08-11 09:30:14 -04:00
common: support boost filesystem copy_options.
Co-authored-by: selsta <selsta@sent.at>
This commit is contained in:
parent
c8214782fb
commit
de9c461a98
6 changed files with 33 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue