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

Method deleteBranch

plugins/git/gitplugin.cpp:933–939  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

931}
932
933VcsJob* GitPlugin::deleteBranch(const QUrl& repository, const QString& branchName)
934{
935 auto* job = new GitJob(urlDir(repository), this, OutputJob::Silent);
936 *job << "git" << "branch" << "-D" << branchName;
937 connect(job, &DVcsJob::readyForParsing, this, &GitPlugin::parseGitCurrentBranch);
938 return job;
939}
940
941VcsJob* GitPlugin::renameBranch(const QUrl& repository, const QString& oldBranchName, const QString& newBranchName)
942{

Callers 1

testBranchMethod · 0.45

Calls 1

urlDirFunction · 0.70

Tested by 1

testBranchMethod · 0.36