MCPcopy Create free account
hub / github.com/VectifyAI/OpenKB / _add_entry

Method _add_entry

tests/test_lint.py:194–195  ·  view source on GitHub ↗
(self, kb: Path, file_hash: str, metadata: dict)

Source from the content-addressed store, hash-verified

192 """
193
194 def _add_entry(self, kb: Path, file_hash: str, metadata: dict) -> None:
195 HashRegistry(kb / ".openkb" / "hashes.json").add(file_hash, metadata)
196
197 def test_registry_doc_name_resolves_renamed_artifacts(self, tmp_path):
198 wiki = _make_wiki(tmp_path)

Calls 2

HashRegistryClass · 0.90
addMethod · 0.80

Tested by

no test coverage detected