diff options
| author | Jeff Carr <[email protected]> | 2025-02-14 18:39:59 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-14 18:39:59 -0600 |
| commit | e5a5454bc0e58d24a6146e4973518160b909582f (patch) | |
| tree | dffa685deb9fdc64d2d7a675022d82d5b326f765 /repo.common.go | |
| parent | e127f53bd42684eedf0f6fa6284ac1eeeb7df561 (diff) | |
minor improvmentsv0.0.76
Diffstat (limited to 'repo.common.go')
| -rw-r--r-- | repo.common.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/repo.common.go b/repo.common.go new file mode 100644 index 0000000..6a30f46 --- /dev/null +++ b/repo.common.go @@ -0,0 +1,10 @@ +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 +} |
