MCPcopy Create free account
hub / github.com/diillson/chatcli / normalizeStatus

Function normalizeStatus

cli/workspace/memory/projects.go:157–168  ·  view source on GitHub ↗

--- internal ---

(s string)

Source from the content-addressed store, hash-verified

155// --- internal ---
156
157func normalizeStatus(s string) string {
158 switch strings.ToLower(strings.TrimSpace(s)) {
159 case "active", "ativo":
160 return "active"
161 case "paused", "pausado":
162 return "paused"
163 case "completed", "done", "concluido", "concluído":
164 return "completed"
165 default:
166 return s
167 }
168}
169
170func parseTechList(s string) []string {
171 parts := strings.FieldsFunc(s, func(r rune) bool {

Callers 1

UpsertMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected