syft/syft/pkg/homebrew.go
Alex Goodman a77d24e379
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>
2025-10-03 17:01:56 +00:00

14 lines
462 B
Go

package pkg
// HomebrewFormula represents metadata about a Homebrew formula package extracted from formula JSON files.
type HomebrewFormula struct {
// Tap is Homebrew tap this formula belongs to (e.g. "homebrew/core")
Tap string `json:"tap,omitempty"`
// Homepage is the upstream project homepage URL
Homepage string `json:"homepage,omitempty"`
// Description is a human-readable formula description
Description string `json:"description,omitempty"`
}