MCPcopy Create free account
hub / github.com/ElementsProject/elements / pushd

Function pushd

test/get_previous_releases.py:74–80  ·  view source on GitHub ↗
(new_dir)

Source from the content-addressed store, hash-verified

72
73@contextlib.contextmanager
74def pushd(new_dir) -> None:
75 previous_dir = os.getcwd()
76 os.chdir(new_dir)
77 try:
78 yield
79 finally:
80 os.chdir(previous_dir)
81
82
83def download_binary(tag, args) -> int:

Callers 2

build_releaseFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected