MCPcopy Create free account
hub / github.com/driangle/taskmd / matchesEntry

Function matchesEntry

apps/cli/internal/cli/project_registry.go:322–330  ·  view source on GitHub ↗
(entry GlobalProjectEntry, key, val string)

Source from the content-addressed store, hash-verified

320}
321
322func matchesEntry(entry GlobalProjectEntry, key, val string) bool {
323 switch key {
324 case "id":
325 return entry.ID == val
326 case "path":
327 return entry.Path == val
328 }
329 return false
330}

Callers 1

removeProjectNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected