MCPcopy Create free account
hub / github.com/LegacyCodeHQ/clarity-cli / hasSetupBlock

Function hasSetupBlock

cmd/setup/setup_cmd.go:86–89  ·  view source on GitHub ↗
(contents []byte)

Source from the content-addressed store, hash-verified

84}
85
86func hasSetupBlock(contents []byte) bool {
87 lower := strings.ToLower(string(contents))
88 return strings.Contains(lower, "clarity show")
89}
90
91func buildSetupBlock(withTrailingNewline bool) string {
92 block := strings.TrimSpace(setupTemplate)

Callers 1

writeAgentsFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected