MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / setReposPath

Method setReposPath

src/plugins/collaborators/mainframe/svn/reposwidget.cpp:100–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100void ReposWidget::setReposPath(const QString &path)
101{
102 d->reposPath = path;
103
104 d->logginDialog->setTitleText(LogginDialog::tr("loggin user from svn\nrepos path: %0")
105 .arg(d->reposPath));
106
107 QDirIterator dirItera(d->reposPath, QDir::Filter::NoDotAndDotDot|QDir::Dirs|QDir::NoSymLinks);
108 while (dirItera.hasNext()) {
109 dirItera.next();
110 qInfo() << dirItera.filePath();
111 d->watcher->addPath(dirItera.filePath());
112 }
113 d->watcher->addPath(path);
114 d->fileSrcView->setRootPath(d->reposPath);
115}
116
117void ReposWidget::loadRevisionFiles()
118{

Callers 1

addNewRepoTabMethod · 0.80

Calls 5

setTitleTextMethod · 0.80
nextMethod · 0.45
filePathMethod · 0.45
addPathMethod · 0.45
setRootPathMethod · 0.45

Tested by

no test coverage detected