| 137 | } |
| 138 | |
| 139 | bool ComparePathSuffix(std::string const& path, std::string const& suffix) |
| 140 | { |
| 141 | std::string::size_type const ps = path.size(); |
| 142 | std::string::size_type const ss = suffix.size(); |
| 143 | |
| 144 | if (ss > ps) { |
| 145 | return false; |
| 146 | } |
| 147 | |
| 148 | return cmSystemTools::ComparePath(path.substr(ps - ss), suffix); |
| 149 | } |
| 150 | |
| 151 | std::string DeterminePrefix(std::string const& filepath, |
| 152 | Json::Value const& data) |
no test coverage detected
searching dependent graphs…