| 108 | } |
| 109 | |
| 110 | std::string getLeafname(const std::string& value) |
| 111 | { |
| 112 | constexpr char sep = '/'; |
| 113 | |
| 114 | size_t i = value.find_last_of(SEPARATORS); |
| 115 | if (i != std::string::npos) |
| 116 | { |
| 117 | return value.substr(i + 1, value.length() - i); |
| 118 | } |
| 119 | |
| 120 | return value; |
| 121 | } |
| 122 | |
| 123 | void testForEmergencyStop() |
| 124 | { |
no outgoing calls
no test coverage detected