MCPcopy Create free account
hub / github.com/comaps/comaps / Init

Method Init

libs/storage/storage.cpp:464–470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462}
463
464void Storage::Init(UpdateCallback didDownload, DeleteCallback willDelete)
465{
466 CHECK_THREAD_CHECKER(m_threadChecker, ());
467
468 m_didDownload = std::move(didDownload);
469 m_willDelete = std::move(willDelete);
470}
471
472void Storage::SetDownloadingPolicy(DownloadingPolicy * policy)
473{

Callers 8

InitStorageFunction · 0.45
InitStorageFunction · 0.45
UNIT_CLASS_TESTFunction · 0.45
InitStorageFunction · 0.45
TestDownloadDeleteFunction · 0.45
InitStorageFunction · 0.45
UNIT_TESTFunction · 0.45
UNIT_CLASS_TESTFunction · 0.45

Calls

no outgoing calls

Tested by 8

InitStorageFunction · 0.36
InitStorageFunction · 0.36
UNIT_CLASS_TESTFunction · 0.36
InitStorageFunction · 0.36
TestDownloadDeleteFunction · 0.36
InitStorageFunction · 0.36
UNIT_TESTFunction · 0.36
UNIT_CLASS_TESTFunction · 0.36