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

Method tag

plugins/git/gitplugin.cpp:887–894  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

885}
886
887VcsJob* GitPlugin::tag(const QUrl& repository, const QString& commitMessage, const VcsRevision& rev, const QString& tagName)
888{
889 auto* job = new GitJob(urlDir(repository), this);
890 *job << "git" << "tag" << "-m" << commitMessage << tagName;
891 if(rev.revisionValue().isValid())
892 *job << rev.revisionValue().toString();
893 return job;
894}
895
896VcsJob* GitPlugin::switchBranch(const QUrl &repository, const QString &branch)
897{

Callers

nothing calls this directly

Calls 4

revisionValueMethod · 0.80
urlDirFunction · 0.70
isValidMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected