MCPcopy Index your code
hub / github.com/RustPython/RustPython / makepath

Function makepath

Lib/site.py:104–110  ·  view source on GitHub ↗
(*paths)

Source from the content-addressed store, hash-verified

102
103
104def makepath(*paths):
105 dir = os.path.join(*paths)
106 try:
107 dir = os.path.abspath(dir)
108 except OSError:
109 pass
110 return dir, os.path.normcase(dir)
111
112
113def abs_paths():

Callers 4

removeduppathsFunction · 0.85
_init_pathinfoFunction · 0.85
addpackageFunction · 0.85
addsitedirFunction · 0.85

Calls 2

normcaseMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected