Versions in this module Expand all Collapse all v0 v0.1.0 May 13, 2026 Changes in this version + const MaxLockfileBytes + const Version + func Write(w io.Writer, l *Lock, toolName, toolVersion string) error + type Asset struct + Attestation *Attestation + Format string + Integrity string + License string + Name string + Out string + PURL string + PackageIntegrity string + Path string + Repository string + Size int64 + Type string + URL string + Version string + type AssetType string + const TypeFont + const TypeImage + const TypeMap + const TypeOther + const TypeScript + const TypeStyle + const TypeWASM + func ClassifyType(p string) AssetType + type Attestation struct + BuilderID string + BundleURL string + PredicateType string + SignerIdentity string + SourceRepository string + SourceRevision string + type Changes struct + Added []Asset + Removed []Asset + Unchanged []Asset + Updated []Asset + func Diff(prev, next *Lock) Changes + type Lock struct + Assets []Asset + GeneratedBy string + LockfileVersion int + OutDir string + func Read(r io.Reader) (*Lock, error)