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

Method pull

plugins/git/gitplugin.cpp:1708–1716  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1706}
1707
1708VcsJob* GitPlugin::pull(const KDevelop::VcsLocation& localOrRepoLocationSrc, const QUrl& localRepositoryLocation)
1709{
1710 auto* job = new GitJob(urlDir(localRepositoryLocation), this);
1711 job->setCommunicationMode(KProcess::MergedChannels);
1712 *job << "git" << "pull";
1713 if(!localOrRepoLocationSrc.localUrl().isEmpty())
1714 *job << localOrRepoLocationSrc.localUrl().url();
1715 return job;
1716}
1717
1718VcsJob* GitPlugin::push(const QUrl& localRepositoryLocation, const KDevelop::VcsLocation& localOrRepoLocationDst)
1719{

Callers

nothing calls this directly

Calls 5

setCommunicationModeMethod · 0.80
localUrlMethod · 0.80
urlDirFunction · 0.70
isEmptyMethod · 0.45
urlMethod · 0.45

Tested by

no test coverage detected