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

Method run

3rdparty/unioncode-GitQlient/src/git/GitRequestorProcess.cpp:9–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7}
8
9GitExecResult GitRequestorProcess::run(const QString &command)
10{
11 auto ret = false;
12
13 // Create temporary file
14 mTempFile = new QTemporaryFile(this);
15
16 if (mTempFile->open()) // to read the file name
17 {
18 setStandardOutputFile(mTempFile->fileName());
19 mTempFile->close();
20
21 ret = execute(command);
22 }
23
24 return { ret, "" };
25}
26
27void GitRequestorProcess::onFinished(int, QProcess::ExitStatus)
28{

Callers

nothing calls this directly

Calls 3

fileNameMethod · 0.80
openMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected