MCPcopy Index your code
hub / github.com/python/cpython / abspath

Method abspath

Lib/test/test_getpath.py:981–984  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

979 raise KeyError(key) from None
980
981 def abspath(self, path):
982 if self.isabs(path):
983 return path
984 return self.joinpath("C:\\Absolute", path)
985
986 def basename(self, path):
987 return path.rpartition("\\")[2]

Callers 15

conf.pyFile · 0.45
mainFunction · 0.45
find_all_on_pathFunction · 0.45
translationFunction · 0.45
getabsfileFunction · 0.45
pathdirsFunction · 0.45
makepathFunction · 0.45
abs_pathsFunction · 0.45
venvFunction · 0.45
_samefileFunction · 0.45
_destinsrcFunction · 0.45
_make_tarballFunction · 0.45

Calls 2

isabsMethod · 0.95
joinpathMethod · 0.95

Tested by

no test coverage detected