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

Method parseP4DiffOutput

plugins/perforce/perforceplugin.cpp:584–599  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

582}
583
584void PerforcePlugin::parseP4DiffOutput(DVcsJob* job)
585{
586 VcsDiff diff;
587 diff.setDiff(job->output());
588 QDir dir(job->directory());
589
590 do {
591 if (dir.exists(m_perforceConfigName)) {
592 break;
593 }
594 } while (dir.cdUp());
595
596 diff.setBaseDiff(QUrl::fromLocalFile(dir.absolutePath()));
597
598 job->setResults(QVariant::fromValue(diff));
599}
600
601void PerforcePlugin::parseP4AnnotateOutput(DVcsJob *job)
602{

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected