diff options
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() |
