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

Method edit

plugins/perforce/perforceplugin.cpp:408–417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

406
407
408KDevelop::VcsJob* PerforcePlugin::edit(const QList<QUrl>& localLocations)
409{
410 QFileInfo curFile(localLocations.front().toLocalFile());
411
412 auto* job = new DVcsJob(curFile.dir(), this, KDevelop::OutputJob::Verbose);
413 setEnvironmentForJob(job, curFile);
414 *job << m_perforceExecutable << "edit" << localLocations;
415
416 return job;
417}
418
419KDevelop::VcsJob* PerforcePlugin::edit(const QUrl& /*localLocation*/)
420{

Callers 3

testEditMethod · 0.45
testEditMultipleFilesMethod · 0.45
addMethod · 0.45

Calls 1

toLocalFileMethod · 0.80

Tested by 2

testEditMethod · 0.36
testEditMultipleFilesMethod · 0.36