diff options
| author | Jeff Carr <[email protected]> | 2024-11-29 23:18:46 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-29 23:18:46 -0600 |
| commit | b52c3c426af45ae45ee5d862834c9353bb0e5fb5 (patch) | |
| tree | f6f6c8d2668cd418f936442c256aa412cb271d72 /unix.go | |
| parent | c25e4dd406072793cab0589be6620bf6bc43ede5 (diff) | |
start moving things to gitpbv0.22.20
Diffstat (limited to 'unix.go')
| -rw-r--r-- | unix.go | 24 |
1 files changed, 0 insertions, 24 deletions
@@ -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 -} |
