summaryrefslogtreecommitdiff
path: root/common.go
diff options
context:
space:
mode:
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 {