MCPcopy Create free account
hub / github.com/Qinbf/groundmap / fmt_block

Function fmt_block

scripts/k.py:2540–2545  ·  view source on GitHub ↗
(blk: dict)

Source from the content-addressed store, hash-verified

2538
2539
2540def fmt_block(blk: dict):
2541 print(f"路径: {blk['path']}")
2542 print(f"锚点: ^{blk['anchor']} 类型: {blk['kind']} 行: {blk['line_start']}-{blk['line_end']}")
2543 print()
2544 print("-" * 60)
2545 print(blk["content"])
2546
2547
2548def fmt_blocks(data: dict):

Callers 1

_main_implFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected