MCPcopy 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
115def is_source(path: str) -> bool:
116 return Path(path).suffix in SOURCE_EXTENSIONS and not is_allowed_before_approval(path)
117
118
119def is_approved(text: str) -> bool:

Callers 1

mainFunction · 0.85

Calls 1

Tested by

no test coverage detected