2025-02-14 18:39:59 -06:00
|
|
|
package gitpb
|
|
|
|
|
|
|
|
// does this repo build a binary?
|
|
|
|
func (r *Repo) IsBinary() bool {
|
|
|
|
if r.GoInfo != nil {
|
|
|
|
return r.GoInfo.GetGoBinary()
|
|
|
|
}
|
|
|
|
// todo: detect C & other language binary packages
|
|
|
|
return false
|
|
|
|
}
|
2025-02-14 20:43:31 -06:00
|
|
|
|
|
|
|
// does this repo build a binary?
|
|
|
|
func (r *Repo) IsGoPlugin() bool {
|
|
|
|
if r.GoInfo != nil {
|
|
|
|
return r.GoInfo.GetGoPlugin()
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|