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

Method Enable

libcppcryptfs/util/KeyCache.cpp:165–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163}
164
165void KeyCache::Enable()
166{
167 lock_guard<mutex> lock(m_mutex);
168
169#ifdef _DEBUG
170 string mes = "enabling key cache at " + get_local_time_string() + "\n";
171 OutputDebugStringA(mes.c_str());
172#endif
173
174 m_enabled = true;
175}
176
177void KeyCache::ClearInternal(bool disable)
178{

Callers 1

OnPowerBroadcastMethod · 0.80

Calls 1

get_local_time_stringFunction · 0.85

Tested by

no test coverage detected