QtPass
1.6.0
Multi-platform GUI for pass, the standard unix password manager.
Loading...
Searching...
No Matches
src
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
18
auto
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
}
ProfileInit::needsInit
static auto needsInit(const QString &path) -> bool
Check if a profile path needs initialization.
Definition
profileinit.cpp:18
profileinit.h
Profile initialization utilities.
Generated by
1.16.1