MCPcopy Create free account
hub / github.com/JordanCoin/codemap / Available

Method Available

scanner/astgrep.go:184–186  ·  view source on GitHub ↗

Available checks if ast-grep CLI is available (as "sg" or "ast-grep")

()

Source from the content-addressed store, hash-verified

182
183// Available checks if ast-grep CLI is available (as "sg" or "ast-grep")
184func (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

Calls

no outgoing calls