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

Function showVcsDiff

kdevplatform/vcs/widgets/vcsdiffpatchsources.cpp:279–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277}
278
279bool showVcsDiff(IPatchSource* vcsDiff)
280{
281 auto* patchReview = ICore::self()->pluginController()->extensionForPlugin<IPatchReview>(QStringLiteral("org.kdevelop.IPatchReview"));
282
283 if( patchReview ) {
284 patchReview->startReview(vcsDiff);
285 return true;
286 } else {
287 qCWarning(VCS) << "Patch review plugin not found";
288 return false;
289 }
290}
291
292VcsDiff VCSStandardDiffUpdater::update() const
293{

Callers 6

commitCurrentProjectMethod · 0.85
diffJobFinishedMethod · 0.85
diffToBaseMethod · 0.85
commitMethod · 0.85
diffReadyMethod · 0.85
diffJobFinishedMethod · 0.85

Calls 2

pluginControllerMethod · 0.80
startReviewMethod · 0.80

Tested by

no test coverage detected