Skip to main content

Module models

Module models 

Source

Structs§

Author
Copyright
Dependency
Package dependency information with version constraints.
DependencyUid
ExtraData
Additional counters and environment details for a scan run.
FacetTallies
FileInfo
File-level scan result containing metadata and detected findings.
FileInfoBuilder
Builder for FileInfo.
FileReference
Reference to a file within a package archive with checksums.
GitSha1
Git object SHA-1 digest (20 bytes / 40 hex characters).
Header
Scan execution metadata stored in output.headers.
Holder
LicenseClarityScore
LicenseDetection
License detection result containing matched license expressions.
LicenseIndexProvenance
LicensePolicyEntry
LicenseReference
Reference entry for a detected license.
LicenseRuleReference
Reference metadata for a license detection rule.
LineNumber
Match
Individual license text match with location and confidence score.
MatchScore
Md5Digest
MD5 digest (16 bytes / 32 hex characters).
Output
Top-level ScanCode-compatible JSON payload.
OutputEmail
OutputURL
Package
Top-level assembled package, created by merging one or more PackageData objects from related manifest/lockfiles (e.g., package.json + package-lock.json).
PackageData
Package metadata extracted from manifest files.
PackageUid
Party
Author, maintainer, or contributor information.
ResolvedPackage
ScanDiagnostic
Sha1Digest
SHA-1 digest (20 bytes / 40 hex characters).
Sha256Digest
SHA-256 digest (32 bytes / 64 hex characters).
Sha512Digest
SHA-512 digest (64 bytes / 128 hex characters).
Summary
SystemEnvironment
Host environment information captured during scan execution.
Tallies
TallyEntry
TopLevelDependency
Top-level dependency instance, created during package assembly.
TopLevelLicenseDetection

Enums§

DatasourceId
Unique identifier for the type of package data source (file format).
DiagnosticSeverity
FileType
PackageType
Package ecosystem/registry type identifier.

Constants§

HEADER_NOTICE
OUTPUT_FORMAT_VERSION
TOOL_NAME

Functions§

diagnostics_from_legacy_scan_errors
is_legacy_warning_message