MCPcopy Create free account
hub / github.com/PerpetualSoftware/pad / IsValidSource

Function IsValidSource

internal/models/document.go:216–218  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

214}
215
216func IsValidSource(s string) bool {
217 return s == "cli" || s == "web" || s == "skill"
218}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected