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

Function kb_ingest_lock

openkb/locks.py:173–175  ·  view source on GitHub ↗

Hold an exclusive KB mutation lock.

(openkb_dir: Path)

Source from the content-addressed store, hash-verified

171
172
173def kb_ingest_lock(openkb_dir: Path):
174 """Hold an exclusive KB mutation lock."""
175 return kb_lock(openkb_dir, exclusive=True)
176
177
178def kb_read_lock(openkb_dir: Path):

Callers 12

add_single_fileFunction · 0.90
wrapperFunction · 0.90
run_lintFunction · 0.90
lintFunction · 0.90
convert_documentFunction · 0.90
_handle_slashFunction · 0.90
run_chatFunction · 0.90

Calls 1

kb_lockFunction · 0.85