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

Method workingDirArgs

plugins/docker/dockerruntime.cpp:142–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142QStringList DockerRuntime::workingDirArgs(QProcess* process) const
143{
144 const auto wd = process->workingDirectory();
145 return wd.isEmpty() ? QStringList{} : QStringList{QStringLiteral("-w"), pathInRuntime(KDevelop::Path(wd)).toLocalFile()};
146}
147
148void DockerRuntime::startProcess(QProcess* process) const
149{

Callers

nothing calls this directly

Calls 4

toLocalFileMethod · 0.80
PathClass · 0.50
workingDirectoryMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected