diff options
| author | Jeff Carr <[email protected]> | 2024-11-05 05:58:54 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-05 05:58:54 -0600 |
| commit | e6f883a9b5e62cb5d52e5c2dbc37d3d15db11b12 (patch) | |
| tree | 620db1fe82c940fe78b17a9bd160d4c0cfc481b0 /common.go | |
| parent | 8eb7501855d71941784d27b6dfe71c7a53699f0a (diff) | |
final commits before releasev0.22.6
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'common.go')
| -rw-r--r-- | common.go | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -59,6 +59,15 @@ func (rs *RepoStatus) IsPrimitive() bool { return false } +func (rs *RepoStatus) IsProtobuf() (bool, []string, error) { + log.Info("are there .proto files in:", rs.Path()) + all, err := ScanForProtobuf(rs.Path()) + for i, s := range all { + log.Info("found i, s:", i, s) + } + return false, all, err +} + // returns the filesystem path to the repo func (rs *RepoStatus) Path() string { return rs.realPath.String() |
