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

Method MountRootResolver

module/src/main/cpp/mountsinfo.cpp:215–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213
214public:
215 explicit MountRootResolver(const std::vector<MountInfo>& mounts) {
216 for (const auto& mount : mounts) {
217 if (mount.getRoot() == "/") {
218 dmm[mount.getDev()] = mount.getMountPoint();
219 }
220 }
221 }
222
223 ~MountRootResolver() = default;
224

Callers

nothing calls this directly

Calls 1

getDevMethod · 0.80

Tested by

no test coverage detected