MCPcopy Create free account
hub / github.com/RASAAS/docmcp-knowledge / _load_existing_entries

Function _load_existing_entries

scripts/parse_exemption_to_json.py:128–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

126
127
128def _load_existing_entries() -> list[dict]:
129 if not OUT_PATH.exists():
130 return []
131 try:
132 with open(OUT_PATH, encoding="utf-8") as f:
133 data = json.load(f)
134 return data.get("entries", [])
135 except Exception:
136 return []
137
138
139def _diff_entries(old: list[dict], new: list[dict]) -> dict:

Callers 1

mainFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected