Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boringstack-xyz/boringstack
/ is_source
Function
is_source
tools/spec-loop/hooks/solo_spec_gate.py:115–116 ·
view source on GitHub ↗
(path: str)
Source
from the content-addressed store, hash-verified
113
114
115
def
is_source(path: str) -> bool:
116
return
Path(path).suffix in SOURCE_EXTENSIONS and not is_allowed_before_approval(path)
117
118
119
def
is_approved(text: str) -> bool:
Callers
1
main
Function · 0.85
Calls
1
is_allowed_before_approval
Function · 0.85
Tested by
no test coverage detected