| 178 | } |
| 179 | |
| 180 | void parsePropagation(const std::string& pg) { |
| 181 | if (pg.find("master:") == 0) { |
| 182 | propagation.type = PropagationType::SLAVE; |
| 183 | propagation.id = std::stoi(pg.substr(7)); |
| 184 | } else if (pg.find("shared:") == 0) { |
| 185 | propagation.type = PropagationType::SHARED; |
| 186 | propagation.id = std::stoi(pg.substr(7)); |
| 187 | } else if (pg == "unbindable") { |
| 188 | propagation.type = PropagationType::UNBINDABLE; |
| 189 | } else if (pg == "private") { |
| 190 | propagation.type = PropagationType::PRIVATE; |
| 191 | } |
| 192 | } |
| 193 | |
| 194 | void parseOptions(const std::string& opt) { |
| 195 | mnt_opts.parse(opt); |
nothing calls this directly
no outgoing calls
no test coverage detected