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

Method push

plugins/git/gitplugin.cpp:1718–1726  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1716}
1717
1718VcsJob* GitPlugin::push(const QUrl& localRepositoryLocation, const KDevelop::VcsLocation& localOrRepoLocationDst)
1719{
1720 auto* job = new GitJob(urlDir(localRepositoryLocation), this);
1721 job->setCommunicationMode(KProcess::MergedChannels);
1722 *job << "git" << "push";
1723 if(!localOrRepoLocationDst.localUrl().isEmpty())
1724 *job << localOrRepoLocationDst.localUrl().url();
1725 return job;
1726}
1727
1728VcsJob* GitPlugin::resolve(const QList<QUrl>& localLocations, IBasicVersionControl::RecursionMode recursion)
1729{

Callers 7

startElementMethod · 0.45
findDeclarationMethod · 0.45
stripPrefixIdentifiersFunction · 0.45
removeTemplateParametersFunction · 0.45
exchangeMethod · 0.45
completionItemsMethod · 0.45
getProjectFileSetsFunction · 0.45

Calls 5

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

Tested by

no test coverage detected