MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / startNextJob

Method startNextJob

src/plugins/git/utils/gitcommand.cpp:68–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68void GitCommandPrivate::startNextJob()
69{
70 QTC_ASSERT(currentJob < jobList.count(), return );
71
72 process.reset(new QProcess);
73 connect(process.get(), &QProcess::readyReadStandardOutput, this, &GitCommandPrivate::readStandardOutput);
74 connect(process.get(), &QProcess::readyReadStandardError, this, &GitCommandPrivate::readStandardError);
75 connect(process.get(), qOverload<int>(&QProcess::finished), this, &GitCommandPrivate::processDone);
76 setupProcess(process.get(), jobList.at(currentJob));
77 process->start();
78}
79
80void GitCommandPrivate::processDone()
81{

Callers

nothing calls this directly

Calls 6

connectFunction · 0.85
atMethod · 0.80
countMethod · 0.45
resetMethod · 0.45
getMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected