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

Method LoadLocal

libi2pd_client/AddressBook.cpp:224–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222 }
223
224 int AddressBookFilesystemStorage::LoadLocal (Addresses& addresses)
225 {
226 int num = LoadFromFile (localPath, addresses);
227 if (num < 0) return 0;
228 LogPrint (eLogInfo, "Addressbook: ", num, " local addresses loaded");
229 return num;
230 }
231
232 int AddressBookFilesystemStorage::Save (const Addresses& addresses)
233 {

Callers

nothing calls this directly

Calls 4

LogPrintFunction · 0.85
IsIdentHashMethod · 0.80
FindLocalDestinationMethod · 0.80
AddAddressMethod · 0.80

Tested by

no test coverage detected