MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / change_root

Function change_root

Lib/distutils/util.py:138–164  ·  view source on GitHub ↗

Return 'pathname' with 'new_root' prepended. If 'pathname' is relative, this is equivalent to "os.path.join(new_root,pathname)". Otherwise, it requires making 'pathname' relative and then joining the two, which is tricky on DOS/Windows and Mac OS.

(new_root, pathname)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

change_rootsMethod · 0.90
runMethod · 0.90

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected