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

Method get_mount_points

cppcryptfs/dokan/MountPointManager.cpp:223–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221}
222
223void MountPointManager::get_mount_points(vector<wstring>& mps, function<bool(const wchar_t *)> filter) const
224{
225 for (auto it = m_tdatas.begin(); it != m_tdatas.end(); ++it) {
226 if (filter) {
227 if (filter(it->first.c_str())) {
228 mps.push_back(it->first);
229 }
230 } else {
231 mps.push_back(it->first);
232 }
233 }
234}
235
236void MountPointManager::apply(function<bool(const wchar_t*mountpoint, CryptThreadData*tdata)> f)
237{

Callers 1

GetMountPointsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected