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

Function runSynchronously

plugins/git/gitplugin.cpp:65–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63using namespace KDevelop;
64
65QVariant runSynchronously(KDevelop::VcsJob* job)
66{
67 QVariant ret;
68 if(job->exec() && job->status()==KDevelop::VcsJob::JobSucceeded) {
69 ret = job->fetchResults();
70 }
71 delete job;
72 return ret;
73}
74
75namespace
76{

Callers 7

initBranchHashMethod · 0.70
testBranchMethod · 0.50
testMergeMethod · 0.50
testBranchingMethod · 0.50
testStashMethod · 0.50

Calls 3

execMethod · 0.80
statusMethod · 0.45
fetchResultsMethod · 0.45

Tested by 5

testBranchMethod · 0.40
testMergeMethod · 0.40
testBranchingMethod · 0.40
testStashMethod · 0.40