summaryrefslogtreecommitdiff
path: root/unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'unix.go')
-rw-r--r--unix.go24
1 files changed, 0 insertions, 24 deletions
diff --git a/unix.go b/unix.go
index 97f560e..601015d 100644
--- a/unix.go
+++ b/unix.go
@@ -398,27 +398,3 @@ func ScanGitDirectories(srcDir string) []string {
return all
}
-
-func ScanForProtobuf(srcDir string) ([]string, []string, error) {
- var protofiles []string
- var compiled []string
- err := filepath.Walk(srcDir, func(path string, info os.FileInfo, err error) error {
- if err != nil {
- log.Log(REPOWARN, "Error accessing path:", path, err)
- return err
- }
-
- if strings.HasSuffix(path, ".proto") {
- //
- protofiles = append(protofiles, path)
- }
-
- if strings.HasSuffix(path, ".pb.go") {
- compiled = append(compiled, path)
- }
-
- return nil
- })
-
- return protofiles, compiled, err
-}