MCPcopy
hub / github.com/aws/aws-cli / cd

Function cd

scripts/utils.py:60–66  ·  view source on GitHub ↗
(dirname)

Source from the content-addressed store, hash-verified

58
59@contextlib.contextmanager
60def cd(dirname):
61 original = os.getcwd()
62 os.chdir(dirname)
63 try:
64 yield
65 finally:
66 os.chdir(original)
67
68
69def bin_path():

Callers 1

install_local_packageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected