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

Method parseP4fstat

plugins/perforce/perforceplugin.cpp:167–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167bool PerforcePlugin::parseP4fstat(const QFileInfo& curFile, OutputJob::OutputJobVerbosity verbosity)
168{
169 QScopedPointer<DVcsJob> job(p4fstatJob(curFile, verbosity));
170 if (job->exec() && job->status() == KDevelop::VcsJob::JobSucceeded) {
171 qCDebug(PLUGIN_PERFORCE) << "Perforce returned: " << job->output();
172 if (!job->output().isEmpty())
173 return true;
174 }
175 return false;
176}
177
178QString PerforcePlugin::getRepositoryName(const QFileInfo& curFile)
179{

Callers

nothing calls this directly

Calls 4

execMethod · 0.80
outputMethod · 0.80
statusMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected