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

Method parseFlags

module/src/main/cpp/mountsinfo.cpp:170–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168 MountOptions mnt_opts;
169
170 void parseFlags(const std::string& str) {
171 std::istringstream s(str);
172 std::string opt;
173 while (std::getline(s, opt, ',')) {
174 auto it = mountFlags.find(opt);
175 if (it != mountFlags.end())
176 mnt_flags |= it->second;
177 }
178 }
179
180 void parsePropagation(const std::string& pg) {
181 if (pg.find("master:") == 0) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected