crash.software
Projects
Pull Requests
Issues
Builds
syft
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
syft
Files
🤬
Sign In
42fa9e49
ROOT
/
syft
/
formats
/
common
/
spdxhelpers
/
to_format_model.go
Search
History
623 lines
|
UTF-8
|
21 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
noAssertion
ToFormatModel
(s sbom.SBOM)
:
*spdx.Document
toSPDXID
(identifiable artifact.Identifiable)
:
spdx.ElementID
toPackages
(catalog *pkg.Collection, sbom sbom.SBOM)
:
(results []*spdx.Package)
toPackageChecksums
(p pkg.Package)
:
([]spdx.Checksum, bool)
toPackageOriginator
(p pkg.Package)
:
*spdx.Originator
formatSPDXExternalRefs
(p pkg.Package)
:
(refs []*spdx.PackageExternalReference)
toRelationships
(relationships []artifact.Relationship)
:
(result []*spdx.Relationship)
lookupRelationship
(ty artifact.RelationshipType)
:
(bool, RelationshipType, string)
toFiles
(s sbom.SBOM)
:
(results []*spdx.File)
toFileChecksums
(digests []file.Digest)
:
(checksums []spdx.Checksum)
toChecksumAlgorithm
(algorithm string)
:
spdx.ChecksumAlgorithm
toFileTypes
(metadata *source.FileMetadata)
:
(ty []string)
toOtherLicenses
(catalog *pkg.Collection)
:
[]*spdx.OtherLicense
newPackageVerificationCode
(p pkg.Package, sbom sbom.SBOM)
:
*spdx.PackageVerificationCode
All occurrences
Please wait...
Page is in error, reload to recover