MCPcopy Create free account
hub / github.com/bailey27/cppcryptfs / remove_node

Method remove_node

libcppcryptfs/filename/casecache.cpp:430–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

428}
429
430void CaseCache::remove_node(unordered_map<wstring, CaseCacheNode *>::iterator it)
431{
432 CaseCacheNode *node = it->second;
433
434 m_map.erase(it);
435
436 m_lru_list.erase(node->m_list_it);
437
438 node->m_files.clear();
439
440 m_spare_node_list.push_front(node);
441
442}
443
444bool CaseCache::purge(LPCWSTR path)
445{

Callers

nothing calls this directly

Calls 1

eraseMethod · 0.80

Tested by

no test coverage detected