---------------------------------------------------------------------
| 168 | |
| 169 | //--------------------------------------------------------------------- |
| 170 | void UnifiedDiffParser::FillUpdatedLines( |
| 171 | const std::wstring& line, |
| 172 | std::vector<File>& files, |
| 173 | Stream& stream) const |
| 174 | { |
| 175 | if (files.empty()) |
| 176 | ThrowError(stream, UnifiedDiffParserException::ErrorNoFilenameBeforeHunks); |
| 177 | auto updatedLines = ExtractUpdatedLines(stream, line); |
| 178 | files.back().AddSelectedLines(updatedLines); |
| 179 | } |
| 180 | |
| 181 | //--------------------------------------------------------------------- |
| 182 | std::filesystem::path UnifiedDiffParser::ExtractTargetFile(Stream& stream) const |
nothing calls this directly
no test coverage detected