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

Method pause_first

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

replaceFunction · 0.85
waitMethod · 0.80

Tested by

no test coverage detected