|
Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
|
sonde trust: trusting the QML templates and components of a library (design 0023). More...
#include "trustcommand.h"#include "commands.h"#include "arguments.h"#include "common.h"#include "instance_p.h"#include "trust_p.h"#include <QtCore/QDir>#include <QtCore/QFile>#include <QtCore/QFileInfo>Namespaces | |
| namespace | Sonde |
| Embeddable Model Context Protocol server for Qt applications. | |
Functions | |
| QString | Sonde::Cli::anonymous_namespace{trustcommand.cpp}::fileSha256 (const QString &path) |
The SHA-256 of the file at path, in hex; fails if it can't be read. | |
| bool | Sonde::Cli::anonymous_namespace{trustcommand.cpp}::isLibraryFile (const QString &name) |
Whether the file name is part of a library: QML, JavaScript, or a qmldir. | |
| QStringList | Sonde::Cli::anonymous_namespace{trustcommand.cpp}::allLibraryFiles (const QString &directory) |
Every library file in directory and below: each directory's files by name, then its subdirectories, as the Python sonde walked them. | |
| QStringList | Sonde::Cli::anonymous_namespace{trustcommand.cpp}::libraryFiles (const QString &library, const QStringList &names) |
The files names refer to in library; fails if one isn't there. | |
| void | Sonde::Cli::anonymous_namespace{trustcommand.cpp}::listTrusted (const QList< Trust::Entry > &entries, const QString &file) |
sonde trust --list: every grant in entries of the store in file, and whether its file still matches. | |
| QString | Sonde::Cli::libraryRelativePath (const QString &name) |
The file name name refers to in a library, relative to it: a path as it is (with a '/'), a component's file (a name starting with a capital), or else a template's. | |
| QString | Sonde::Cli::libraryFileName (const QString &relative) |
How the application names the file at relative in its library: a template by its name, any other file by its path. | |
| TrustRequest | Sonde::Cli::parseTrustArguments (const QStringList &args) |
sonde trust with the arguments args, as argparse read them. | |
| void | Sonde::Cli::trustCommand (const TrustRequest &request) |
sonde trust: does what request asks. | |
sonde trust: trusting the QML templates and components of a library (design 0023).