|
Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
|
Functions | |
| QString | searchUp (const QString &start, const std::function< bool(const QDir &)> &matches) |
The first directory from start upwards for which matches holds, or empty. | |
| std::optional< QJsonArray > | readStore (const QString &file, QString *error) |
The entries of the trust store in file (none if it doesn't exist); nothing, with error set, if it can't be read. | |
| bool | writeStore (const QString &file, const QJsonArray &entries, QString *error) |
Writes entries to the store in file, creating its directory. | |
Variables | |
| constexpr QStringView | kEverywhere = u"everywhere" |
| The "where" of a grant that applies in every checkout. | |
| bool Sonde::Trust::anonymous_namespace{trust.cpp}::writeStore | ( | const QString & | file, |
| const QJsonArray & | entries, | ||
| QString * | error ) |
Writes entries to the store in file, creating its directory.
error says why.