MCPcopy Create free account
hub / github.com/Chat2AnyLLM/code-agent-manager / isDocFile

Function isDocFile

internal/metadata/discover.go:190–197  ·  view source on GitHub ↗
(base string)

Source from the content-addressed store, hash-verified

188}
189
190func isDocFile(base string) bool {
191 lower := strings.ToLower(strings.TrimSuffix(base, filepath.Ext(base)))
192 switch lower {
193 case "readme", "license", "licence", "contributing", "changelog", "code_of_conduct", "security":
194 return true
195 }
196 return false
197}
198
199// parseManifest reads a markdown manifest and extracts name/description from
200// YAML frontmatter when present, falling back to the provided default name and

Callers 1

resourceFromFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected