MCPcopy Create free account
hub / github.com/microsoft/debugpy / copy

Method copy

src/debugpy/common/util.py:43–47  ·  view source on GitHub ↗
(self, updated_from=None)

Source from the content-addressed store, hash-verified

41 return Env(os.environ)
42
43 def copy(self, updated_from=None):
44 result = Env(self)
45 if updated_from is not None:
46 result.update(updated_from)
47 return result
48
49 def prepend_to(self, key, entry):
50 """Prepends a new entry to a PATH-style environment variable, creating

Callers 11

git_pieces_from_vcsFunction · 0.45
get_cmdclassFunction · 0.45
git_pieces_from_vcsFunction · 0.45
launch_requestFunction · 0.45
testMethod · 0.45
testMethod · 0.45
__getstate__Method · 0.45
test_with_path_mappingsFunction · 0.45
parentFunction · 0.45
test_reattachFunction · 0.45

Calls 2

EnvClass · 0.70
updateMethod · 0.45

Tested by 4

test_with_path_mappingsFunction · 0.36
parentFunction · 0.36
test_reattachFunction · 0.36