MCPcopy Create free account
hub / github.com/ezyang/ghstack / assert_github_state

Function assert_github_state

src/ghstack/test_prelude.py:401–402  ·  view source on GitHub ↗
(expect: str, *, skip: int = 0)

Source from the content-addressed store, hash-verified

399
400
401def assert_github_state(expect: str, *, skip: int = 0) -> None:
402 assert_expected_inline(dump_github(), expect, skip=skip + 1)
403
404
405def is_direct() -> bool:

Callers

nothing calls this directly

Calls 1

dump_githubFunction · 0.85

Tested by

no test coverage detected