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

Method diffToBase

kdevplatform/vcs/vcspluginhelper.cpp:289–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287}
288
289void VcsPluginHelper::diffToBase()
290{
291 Q_D(VcsPluginHelper);
292
293 SINGLEURL_SETUP_VARS
294 if (!ICore::self()->documentController()->saveAllDocuments()) {
295 return;
296 }
297
298 auto* patch =new VCSDiffPatchSource(new VCSStandardDiffUpdater(iface, url));
299 showVcsDiff(patch);
300}
301
302void VcsPluginHelper::diffForRev()
303{

Callers

nothing calls this directly

Calls 3

showVcsDiffFunction · 0.85
saveAllDocumentsMethod · 0.80
documentControllerMethod · 0.80

Tested by

no test coverage detected