summaryrefslogtreecommitdiff
path: root/common.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-07 04:58:42 -0600
committerJeff Carr <[email protected]>2025-01-07 04:58:42 -0600
commitca66a42fd16d9724d5dc8acd7516f623fa65e00e (patch)
tree68b3059898bcdcb2d768b409f4ce59d65b60000e /common.go
parent7cc064dec034ba2dddf5eced0ce2206ecf56981b (diff)
remove lots of old stuff
Diffstat (limited to 'common.go')
-rw-r--r--common.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/common.go b/common.go
index 6b67649..12d438a 100644
--- a/common.go
+++ b/common.go
@@ -27,6 +27,10 @@ func (r *RepoRow) IsProtobuf() (bool, []string, error) {
return r.pb.IsProtobuf()
}
+func (r *RepoRow) IsBinary() bool {
+ return r.pb.GoInfo.GetGoBinary()
+}
+
// better name: use this
// matches by path or by name
func (r *RepoList) FindByName(name string) *RepoRow {