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

Function copy

sources/system/common.cpp:167–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165 }
166
167 bool copy(const std::string &source, const std::string &dest)
168 {
169 std::error_code ec;
170 std::filesystem::copy_file(source, dest,
171 std::filesystem::copy_options::recursive | std::filesystem::copy_options::overwrite_existing, ec);
172 return !ec;
173 }
174
175 bool remove(const std::string &path)
176 {

Callers 15

opt_exprMethod · 0.50
parse_asiMethod · 0.50
parse_pairMethod · 0.50
parse_incMethod · 0.50
parse_decMethod · 0.50
parse_exprMethod · 0.50
parse_define_varMethod · 0.50
insert_or_assignFunction · 0.50
insertFunction · 0.50
push_frontFunction · 0.50
push_backFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected