MCPcopy Create free account
hub / github.com/github/gh-aw / includeExpansionComplete

Function includeExpansionComplete

pkg/parser/include_expander.go:83–88  ·  view source on GitHub ↗
(currentContent, processedContent string, extractTools bool)

Source from the content-addressed store, hash-verified

81}
82
83func includeExpansionComplete(currentContent, processedContent string, extractTools bool) bool {
84 if extractTools {
85 return !strings.Contains(processedContent, "@include") && !strings.Contains(processedContent, "@import")
86 }
87 return processedContent == currentContent
88}
89
90func buildIncludedFilesManifest(baseDir string, visited map[string]struct {
91}) []string {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected