summaryrefslogtreecommitdiff
path: root/unix.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-29 23:18:46 -0600
committerJeff Carr <[email protected]>2024-11-29 23:18:46 -0600
commitb52c3c426af45ae45ee5d862834c9353bb0e5fb5 (patch)
treef6f6c8d2668cd418f936442c256aa412cb271d72 /unix.go
parentc25e4dd406072793cab0589be6620bf6bc43ede5 (diff)
start moving things to gitpbv0.22.20
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
-}