MCPcopy Create free account
hub / github.com/ElementsProject/elements / copy_file

Function copy_file

src/fs.h:89–92  ·  view source on GitHub ↗

Disallow implicit std::string conversion for copy_file to avoid locale-dependent encoding on Windows.

Source from the content-addressed store, hash-verified

87// Disallow implicit std::string conversion for copy_file
88// to avoid locale-dependent encoding on Windows.
89static inline bool copy_file(const path& from, const path& to, copy_options options)
90{
91 return std::filesystem::copy_file(from, to, options);
92}
93
94/**
95 * Convert path object to a byte string. On POSIX, paths natively are byte

Callers 2

BackupMethod · 0.85
RestoreWalletFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected