MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / copy

Method copy

Source/Basic/Content.cpp:162–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162bool Content::copy(String src, String dst) {
163 PROFILE("FileIO"_slice);
164 bool result = false;
165 _thread->runInMainSync([&]() {
166 result = Content::copyUnsafe(src, dst);
167 });
168 return result;
169}
170
171bool Content::move(String src, String dst) {
172 std::error_code err;

Callers 2

downloadPackageMethod · 0.45
content_copyFunction · 0.45

Calls 1

runInMainSyncMethod · 0.80

Tested by

no test coverage detected