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

Method get

cppcryptfs/dokan/MountPointManager.cpp:66–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66CryptThreadData *MountPointManager::get(const wchar_t *mountpoint)
67{
68 wstring mpstr;
69 if (!find(mountpoint, mpstr)) {
70 return NULL;
71 }
72 auto it = m_tdatas.find(mpstr);
73 if (it != m_tdatas.end()) {
74 return it->second;
75 } else {
76 return NULL;
77 }
78}
79
80bool MountPointManager::destroy(const wchar_t *mountpoint)
81{

Callers 2

get_fs_infoFunction · 0.45

Calls 1

findMethod · 0.80

Tested by

no test coverage detected