diff options
| author | 0xFFFC0000 <0xFFFC0000@proton.me> | 2024-04-30 23:20:10 +0000 |
|---|---|---|
| committer | 0xFFFC0000 <0xFFFC0000@proton.me> | 2024-05-01 02:51:08 +0330 |
| commit | 755dddd2bc9a74fe7f2a61fc49af2a98ca4e82ee (patch) | |
| tree | a63795f5e8b55a70333d12649343adcb574a20a2 /src/common/util.h | |
| parent | 81d4db08eb75ce5392c65ca6571e7b08e41b7c95 (diff) | |
| download | monzero-core-755dddd2bc9a74fe7f2a61fc49af2a98ca4e82ee.tar.gz monzero-core-755dddd2bc9a74fe7f2a61fc49af2a98ca4e82ee.tar.xz monzero-core-755dddd2bc9a74fe7f2a61fc49af2a98ca4e82ee.zip | |
common: support boost filesystem copy_options.
Co-authored-by: selsta <selsta@sent.at>
Diffstat (limited to 'src/common/util.h')
| -rw-r--r-- | src/common/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h index f489594e8..cfc0fb692 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -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; |
