Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
216
func
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