aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2024-05-20 23:39:01 -0500
committerluigi1111 <luigi1111w@gmail.com>2024-05-20 23:39:01 -0500
commitb13e597e8e347b26055047e417963650d9bd7f1f (patch)
tree17ff180801624c8d630c4f9734c22f93479778a1 /src/common/util.h
parent19fa7dceac6de9a2c8c5f6231284a26a5bc60ed0 (diff)
parent755dddd2bc9a74fe7f2a61fc49af2a98ca4e82ee (diff)
downloadmonzero-core-b13e597e8e347b26055047e417963650d9bd7f1f.tar.gz
monzero-core-b13e597e8e347b26055047e417963650d9bd7f1f.tar.xz
monzero-core-b13e597e8e347b26055047e417963650d9bd7f1f.zip
Merge pull request #9306
755dddd common: support boost filesystem copy_options. Co-authored-by: selsta <selsta@sent.at> (0xFFFC0000)
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h
index 35b897017..9f21b259f 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;