Available checks if ast-grep CLI is available (as "sg" or "ast-grep")
()
| 182 | |
| 183 | // Available checks if ast-grep CLI is available (as "sg" or "ast-grep") |
| 184 | func (s *AstGrepScanner) Available() bool { |
| 185 | return s.binary != "" |
| 186 | } |
| 187 | |
| 188 | // findNestedGitRepos returns subdirectory names that contain their own .git |
| 189 | // These are separate repositories (not submodules) that should be excluded |
no outgoing calls