MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / pause_first

Method pause_first

pkg/pypi/tests/test_cli.py:243–248  ·  view source on GitHub ↗
(source, destination)

Source from the content-addressed store, hash-verified

241 read_lock_owner = _cli._read_runtime_lock_owner
242
243 def pause_first(source, destination):
244 replace(source, destination)
245 if Path(destination) == directory / binary_name:
246 first_holds_lock.set()
247 if not allow_first.wait(5):
248 raise RuntimeError("test did not release first publisher")
249
250 def observe_waiter(lock_path):
251 if threading.current_thread().name == "publisher-second":

Callers

nothing calls this directly

Calls 1

waitMethod · 0.80

Tested by

no test coverage detected