MCPcopy Create free account
hub / github.com/covscript/covscript / move

Function move

sources/system/common.cpp:160–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158 }
159
160 bool move(const std::string &source, const std::string &dest)
161 {
162 std::error_code ec;
163 std::filesystem::rename(source, dest, ec);
164 return !ec;
165 }
166
167 bool copy(const std::string &source, const std::string &dest)
168 {

Callers 15

splitFunction · 0.70
trim_exprMethod · 0.50
opt_exprMethod · 0.50
import_csymMethod · 0.50
translateMethod · 0.50
local2wideFunction · 0.50
wide2localMethod · 0.50
unix_fiberMethod · 0.50
createFunction · 0.50
win32_fiberMethod · 0.50
createFunction · 0.50
parse_exprMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected