Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var OptSortMaterial = cmpopts.SortSlices(func(i, j slsa.ProvenanceMaterial) bool {
if i.URI == j.URI {
i_DigestValue := ""
for _, v := range i.Digest {
i_DigestValue = v
}
j_DigestValue := ""
for _, v := range j.Digest {
j_DigestValue = v
}
return i_DigestValue < j_DigestValue
}
return i.URI < j.URI
})
OptSortMaterial provides compare options to sort a slice of materials by URI in the provenance
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.