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

Method RemoveAddress

libi2pd_client/AddressBook.cpp:174–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172 }
173
174 void AddressBookFilesystemStorage::RemoveAddress (const i2p::data::IdentHash& ident)
175 {
176 {
177 std::lock_guard<std::mutex> l(m_FullAddressCacheMutex);
178 m_FullAddressCache.erase (ident);
179 }
180 if (!m_IsPersist) return;
181 storage.Remove( ident.ToBase32() );
182 }
183
184 int AddressBookFilesystemStorage::LoadFromFile (const std::string& filename, Addresses& addresses)
185 {

Callers 1

AddressBook.cppFile · 0.80

Calls 1

RemoveMethod · 0.45

Tested by

no test coverage detected