QtPass
2.0.0
Developer documentation
Toggle main menu visibility
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
32
class
EntryRecord
{
33
public
:
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_
EntryRecord
Remembers, outside the store, which entry paths this device has saved, so an entry that appeared unde...
Definition
entryrecord.h:32
EntryRecord::seedStore
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....
Definition
entryrecord.cpp:186
EntryRecord::recordFile
static auto recordFile() -> QString
Where the record is kept.
Definition
entryrecord.cpp:155
EntryRecord::remember
static void remember(const QStringList &paths)
Record entries this device has just written.
Definition
entryrecord.cpp:170
EntryRecord::known
static auto known(const QString &entryFile) -> bool
Whether this device saved entryFile, or found it there when the store was seeded.
Definition
entryrecord.cpp:160
src
entryrecord.h
Generated by
1.18.0