MCPcopy Create free account
hub / github.com/VCVRack/Rack / copy

Function copy

src/system.cpp:143–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141
142
143bool copy(const std::string& srcPath, const std::string& destPath) {
144 try {
145 fs::copy(fs::u8path(srcPath), fs::u8path(destPath), fs::copy_options::recursive | fs::copy_options::overwrite_existing);
146 return true;
147 }
148 catch (fs::filesystem_error& e) {
149 return false;
150 }
151}
152
153
154bool createDirectory(const std::string& path) {

Callers 2

loadMethod · 0.85
cloneActionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected