QtPass 1.6.0
Multi-platform GUI for pass, the standard unix password manager.
Loading...
Searching...
No Matches
profileinit.cpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 Anne Jan Brouwer
2// SPDX-License-Identifier: GPL-3.0-or-later
3
8
9#include "profileinit.h"
10
11#include <QDir>
12
18auto ProfileInit::needsInit(const QString &path) -> bool {
19 QDir dir(path);
20 if (!dir.exists()) {
21 return false;
22 }
23 return !dir.exists(".gpg-id");
24}
static auto needsInit(const QString &path) -> bool
Check if a profile path needs initialization.
Profile initialization utilities.