MCPcopy Index your code
hub / github.com/aws/aws-cli / cd

Function cd

backends/build_system/utils.py:74–80  ·  view source on GitHub ↗
(dirname)

Source from the content-addressed store, hash-verified

72
73@contextlib.contextmanager
74def cd(dirname):
75 original = os.getcwd()
76 os.chdir(dirname)
77 try:
78 yield
79 finally:
80 os.chdir(original)
81
82
83class Requirement:

Callers 2

get_install_requiresFunction · 0.70
globMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected