namespace StellaOps.Scanner.Analyzers.OS.Windows.Chocolatey; /// /// Represents metadata extracted from a Chocolatey package installation. /// internal sealed record ChocolateyPackageMetadata( /// Package identifier (e.g., "git", "nodejs"). string Id, /// Package version (e.g., "2.42.0"). string Version, /// Package title/display name. string? Title, /// Package authors. string? Authors, /// Package description. string? Description, /// Package license URL. string? LicenseUrl, /// Package project URL. string? ProjectUrl, /// Package checksum. string? Checksum, /// Checksum algorithm (e.g., "sha256"). string? ChecksumType, /// Source feed URL where package was downloaded. string? SourceFeed, /// Installation directory. string InstallDir, /// Installation script hash for determinism. string? InstallScriptHash, /// Files installed by the package. IReadOnlyList InstalledFiles);