MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / block_has_content

Function block_has_content

scripts/prepare-release.py:148–150  ·  view source on GitHub ↗

True when the block has any bullet-shaped entries.

(body: list[str])

Source from the content-addressed store, hash-verified

146
147
148def block_has_content(body: list[str]) -> bool:
149 """True when the block has any bullet-shaped entries."""
150 return any(BULLET_RE.match(line) for line in body)
151
152
153def trim_trailing_blank(arr: list[str]) -> list[str]:

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected