|
mutterkey
KDE-first push-to-talk transcription tool for KDE Plasma
|
Validates native Mutterkey model packages before runtime loading. More...
#include <modelvalidator.h>
Static Public Member Functions | |
| static ModelValidationLimits | defaultLimits () |
| Returns the default validation limits for native packages. | |
| static std::optional< ValidatedModelPackage > | validatePackagePath (const QString &path, QStringView requiredEngine={}, QStringView requiredModelFormat={}, RuntimeError *error=nullptr, const ModelValidationLimits &limits=defaultLimits()) |
| Validates a native model package on disk. | |
Validates native Mutterkey model packages before runtime loading.
Definition at line 30 of file modelvalidator.h.
|
static |
Returns the default validation limits for native packages.
|
static |
Validates a native model package on disk.
| path | Package root directory or manifest path. |
| requiredEngine | Optional engine compatibility filter. |
| requiredModelFormat | Optional model-format compatibility filter. |
| error | Optional destination for structured validation failures. |
| limits | Validation bounds to enforce. |