mirror of
https://github.com/anchore/syft.git
synced 2026-11-02 23:46:35 +01:00
Improve struct and field comments and incorporate into json schema (#4252)
* improve struct and field comments and incorporate into json schema Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * address review feedback Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> --------- Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package pkg
|
||||
|
||||
// SwiftPackageManagerResolvedEntry represents a resolved dependency from a Package.resolved file with its locked version and source location.
|
||||
type SwiftPackageManagerResolvedEntry struct {
|
||||
// Revision is git commit hash of the resolved package
|
||||
Revision string `mapstructure:"revision" json:"revision"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user