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

Method createWorkingCopy

plugins/git/gitplugin.cpp:374–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372}
373
374VcsJob* GitPlugin::createWorkingCopy(const KDevelop::VcsLocation & source, const QUrl& dest, KDevelop::IBasicVersionControl::RecursionMode)
375{
376 DVcsJob* job = new GitCloneJob(urlDir(dest), this);
377 job->setType(VcsJob::Import);
378 *job << "git" << "clone" << "--progress" << "--" << source.localUrl().url() << dest;
379 return job;
380}
381
382VcsJob* GitPlugin::add(const QList<QUrl>& localLocations, KDevelop::IBasicVersionControl::RecursionMode recursion)
383{

Callers 2

jobPerCurrentMethod · 0.45
initializeCVCSFunction · 0.45

Calls 4

localUrlMethod · 0.80
urlDirFunction · 0.70
setTypeMethod · 0.45
urlMethod · 0.45

Tested by

no test coverage detected