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

Method save

src/common/lsp/server/route.cpp:32–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32void Route::save(const ProjectKey &key, QProcess *const value)
33{
34 if (!savedProcs.value(key)) {
35 QObject::connect(value, QOverload<int, QProcess::ExitStatus>::of(&QProcess::finished),
36 this, &Route::deleteProc, Qt::DirectConnection);
37 savedProcs.insert(key, value);
38 }
39}
40
41void Route::deleteProc(int exitCode, QProcess::ExitStatus exitstatus)
42{

Callers 2

selectLspServerFunction · 0.45
paintMethod · 0.45

Calls 3

connectFunction · 0.85
insertMethod · 0.80
valueMethod · 0.45

Tested by

no test coverage detected