Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
Loading...
Searching...
No Matches
Sonde::Cli::anonymous_namespace{trustcommand.cpp} Namespace Reference

Functions

QString fileSha256 (const QString &path)
 The SHA-256 of the file at path, in hex; fails if it can't be read.
bool isLibraryFile (const QString &name)
 Whether the file name is part of a library: QML, JavaScript, or a qmldir.
QStringList 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 libraryFiles (const QString &library, const QStringList &names)
 The files names refer to in library; fails if one isn't there.
void 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.