diff options
Diffstat (limited to 'common.go')
| -rw-r--r-- | common.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 { |
