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

Method unmount_all

cppcryptfs/dokan/MountPointManager.cpp:128–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126
127
128bool MountPointManager::unmount_all(bool wait)
129{
130 for (auto it = m_tdatas.begin(); it != m_tdatas.end(); ++it) {
131 wstring wmes;
132 if (!unmount_crypt_fs(it->first.c_str(), false, wmes)) {
133 return false;
134 }
135 }
136 bool result = true;
137 if (wait) {
138 result = this->wait_all_and_destroy();
139 }
140 return result;
141}
142
143BOOL MountPointManager::wait_multiple_and_destroy(int count, HANDLE handles[], wstring mountpoints[])
144{

Callers 1

unmount_allFunction · 0.80

Calls 2

wait_all_and_destroyMethod · 0.95
unmount_crypt_fsFunction · 0.85

Tested by

no test coverage detected