MCPcopy Create free account
hub / github.com/KDE/kdevelop / parseGitDiffOutput

Method parseGitDiffOutput

plugins/git/gitplugin.cpp:1353–1361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1351}
1352
1353void GitPlugin::parseGitDiffOutput(DVcsJob* job)
1354{
1355 VcsDiff diff;
1356 diff.setDiff(job->output());
1357 diff.setBaseDiff(repositoryRoot(QUrl::fromLocalFile(job->directory().absolutePath())));
1358 diff.setDepth(usePrefix()? 1 : 0);
1359
1360 job->setResults(QVariant::fromValue(diff));
1361}
1362
1363static VcsStatusInfo::State lsfilesToState(char id)
1364{

Callers

nothing calls this directly

Calls 6

outputMethod · 0.80
setBaseDiffMethod · 0.80
setDepthMethod · 0.80
setResultsMethod · 0.80
setDiffMethod · 0.45
directoryMethod · 0.45

Tested by

no test coverage detected