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

Function isNothingNew

cli/memory_worker.go:531–540  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

529}
530
531func isNothingNew(s string) bool {
532 normalized := strings.ToUpper(strings.TrimSpace(s))
533 normalized = strings.TrimRight(normalized, ".!,;:")
534 normalized = strings.TrimSpace(normalized)
535 switch normalized {
536 case "NOTHING_NEW", "NOTHING NEW", "NOTHING-NEW", "N/A", "NONE", "NA":
537 return true
538 }
539 return false
540}
541
542//nolint:unused // used by memory_worker_test via parseMemoryResponse.
543func findSectionIndex(upperResponse string, keyword string) int {

Callers 3

TestIsNothingNewFunction · 0.70
extractAndSaveMethod · 0.70
parseMemoryResponseFunction · 0.70

Calls

no outgoing calls

Tested by 1

TestIsNothingNewFunction · 0.56