| 208 | static void doumount(const std::string& mntPnt); |
| 209 | |
| 210 | static 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 | |
| 218 | static void unmount(const std::vector<MountRuleParser::MountRule>& rules, const std::vector<MountInfo>& mounts) { |
| 219 | MountRootResolver mrs(mounts); |
no test coverage detected