MCPcopy
hub / github.com/ZeroLu/awesome-gpt-image / block_map

Function block_map

scripts/regenerate_translated_readmes.py:490–491  ·  view source on GitHub ↗
(blocks: list[list[str]])

Source from the content-addressed store, hash-verified

488
489
490def block_map(blocks: list[list[str]]) -> dict[str, list[str]]:
491 return {block[0].strip(): block for block in blocks}
492
493
494def extract_content_titles(path: Path) -> list[str]:

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected