QtPass 2.0.0
Developer documentation
Loading...
Searching...
No Matches
entryrecord.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 Anne Jan Brouwer
2// SPDX-License-Identifier: GPL-3.0-or-later
9#ifndef SRC_ENTRYRECORD_H_
10#define SRC_ENTRYRECORD_H_
11
12#include <QString>
13#include <QStringList>
14
33public:
41 static auto known(const QString &entryFile) -> bool;
47 static void remember(const QStringList &paths);
55 static void seedStore(const QString &storeRoot);
60 static auto recordFile() -> QString;
61};
62
63#endif // SRC_ENTRYRECORD_H_
Remembers, outside the store, which entry paths this device has saved, so an entry that appeared unde...
Definition entryrecord.h:32
static void seedStore(const QString &storeRoot)
Record every entry of a store the first time it is seen; later calls for the same store do nothing....
static auto recordFile() -> QString
Where the record is kept.
static void remember(const QStringList &paths)
Record entries this device has just written.
static auto known(const QString &entryFile) -> bool
Whether this device saved entryFile, or found it there when the store was seeded.