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

Method find

cppcryptfs/dokan/MountPointManager.cpp:186–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184}
185
186bool MountPointManager::find(const WCHAR * mountpoint, wstring & mpstr) const
187{
188 auto it = m_tdatas.find(mountpoint);
189 if (it != m_tdatas.end()) {
190 mpstr = it->first;
191 return true;
192 }
193
194 for (auto it = m_tdatas.begin(); it != m_tdatas.end(); ++it) {
195 if (!lstrcmpi(it->first.c_str(), mountpoint)) {
196 mpstr = it->first;
197 return true;
198 }
199 }
200 return false;
201}
202
203bool MountPointManager::get_path(const WCHAR *mountpoint, wstring& path) const
204{

Callers 15

ConvertMethod · 0.80
getMethod · 0.80
destroyMethod · 0.80
wait_and_destroyMethod · 0.80
get_pathMethod · 0.80
get_open_handle_countMethod · 0.80
mount_crypt_fsFunction · 0.80
unmount_crypt_fsFunction · 0.80
GetSettingDefaultMethod · 0.80
GetSettingRecommendedMethod · 0.80
GetSettingCurrentMethod · 0.80
SaveSettingMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected