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

Function fmt_conflicts

scripts/k.py:2330–2340  ·  view source on GitHub ↗
(conflicts)

Source from the content-addressed store, hash-verified

2328
2329
2330def fmt_conflicts(conflicts):
2331 if not conflicts:
2332 print("✅ 没有未决冲突")
2333 return
2334 print(f"⚠️ 发现 {len(conflicts)} 处冲突标注:\n")
2335 for c in conflicts:
2336 print(f" {c['path']}:{c['line']} ({c['title']})")
2337 print(" --- 冲突块 ---")
2338 for line in c["block"].split("\n"):
2339 print(f" {line}")
2340 print()
2341
2342
2343def fmt_to_update(items):

Callers 1

_main_implFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected