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

Method add

plugins/bazaar/bazaarplugin.cpp:64–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64VcsJob* BazaarPlugin::add(const QList<QUrl>& localLocations, IBasicVersionControl::RecursionMode recursion)
65{
66 auto* job = new DVcsJob(BazaarUtils::workingCopy(localLocations[0]), this);
67 job->setType(VcsJob::Add);
68 *job << "bzr" << "add";
69 if(recursion == NonRecursive)
70 *job << "--no-recurse";
71 *job << localLocations;
72 return job;
73}
74
75VcsJob* BazaarPlugin::annotate(const QUrl& localLocation, const VcsRevision& rev)
76{

Callers 4

addToVcsMethod · 0.45
addFilesMethod · 0.45
commitFilesMethod · 0.45

Calls 1

setTypeMethod · 0.45

Tested by 3

addFilesMethod · 0.36
commitFilesMethod · 0.36