MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / InitProfilesStorage

Function InitProfilesStorage

libi2pd/Profiling.cpp:300–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298 }
299
300 void InitProfilesStorage ()
301 {
302 g_ProfilesStorage.SetPlace(i2p::fs::GetDataDir());
303 g_ProfilesStorage.Init(i2p::data::GetBase64SubstitutionTable(), 64);
304 }
305
306 static void SaveProfilesToDisk (std::list<std::pair<i2p::data::IdentHash, std::shared_ptr<RouterProfile> > >&& profiles)
307 {

Callers 1

StartMethod · 0.85

Calls 3

SetPlaceMethod · 0.80
InitMethod · 0.45

Tested by

no test coverage detected