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

Function find_to_update

scripts/k.py:499–513  ·  view source on GitHub ↗
(pages)

Source from the content-addressed store, hash-verified

497
498
499def find_to_update(pages):
500 out = []
501 for p in pages:
502 # deprecated 页面带 #to-be-updated 也无意义
503 if p.status == "deprecated":
504 continue
505 # 跳过反引号包裹的字面提及——周报、运维文档讨论这个标签时不应触发
506 if TO_BE_UPDATED_RE.search(mask_code_spans(p.raw_content)):
507 out.append({
508 "path": p.path,
509 "title": p.title,
510 "type": p.type,
511 "last_modified": p.last_modified,
512 })
513 return out
514
515
516# ============================================================

Callers 2

health_reportFunction · 0.85
_main_implFunction · 0.85

Calls 1

mask_code_spansFunction · 0.85

Tested by

no test coverage detected