MCPcopy Create free account
hub / github.com/MhmRdd/NoHello / unmount

Function unmount

module/src/main/cpp/nohello.cpp:210–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208static void doumount(const std::string& mntPnt);
209
210static void unmount(const std::vector<MountInfo>& mounts) {
211 MountRootResolver mrs(mounts);
212 for (const auto& mount : std::ranges::reverse_view(mounts)) {
213 if (anomaly(mrs, mount))
214 doumount(mount.getMountPoint());
215 }
216}
217
218static void unmount(const std::vector<MountRuleParser::MountRule>& rules, const std::vector<MountInfo>& mounts) {
219 MountRootResolver mrs(mounts);

Callers 2

preSpecializeMethod · 0.85
NoRootFunction · 0.85

Calls 2

anomalyFunction · 0.85
doumountFunction · 0.85

Tested by

no test coverage detected