MCPcopy Create free account
hub / github.com/IJHack/QtPass / onUpdate

Method onUpdate

src/mainwindow.cpp:339–346  ·  view source on GitHub ↗

* @brief MainWindow::onUpdate do a git pull */

Source from the content-addressed store, hash-verified

337 * @brief MainWindow::onUpdate do a git pull
338 */
339void MainWindow::onUpdate(bool block) {
340 ui->statusBar->showMessage(tr("Updating password-store"), 2000);
341 if (block) {
342 QtPassSettings::getPass()->GitPull_b();
343 } else {
344 QtPassSettings::getPass()->GitPull();
345 }
346}
347
348/**
349 * @brief MainWindow::onPush do a git push

Callers

nothing calls this directly

Calls 3

showMessageMethod · 0.80
GitPull_bMethod · 0.45
GitPullMethod · 0.45

Tested by

no test coverage detected