MCPcopy Index your code
hub / github.com/github/copilot-sdk / wait_for_path

Function wait_for_path

python/e2e/test_session_fs_e2e.py:651–655  ·  view source on GitHub ↗
(path: Path, timeout: float = 5.0)

Source from the content-addressed store, hash-verified

649
650
651async def wait_for_path(path: Path, timeout: float = 5.0) -> None:
652 async def predicate():
653 return path.exists()
654
655 await wait_for_predicate(predicate, timeout=timeout)
656
657
658async def wait_for_content(path: Path, expected: str, timeout: float = 5.0) -> None:

Calls 1

wait_for_predicateFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…