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

Method resolve

Lib/pathlib/__init__.py:1130–1136  ·  view source on GitHub ↗

Make the path absolute, resolving all symlinks on the way and also normalizing it.

(self, strict=False)

Source from the content-addressed store, hash-verified

1128 return path
1129
1130 def resolve(self, strict=False):
1131 """
1132 Make the path absolute, resolving all symlinks on the way and also
1133 normalizing it.
1134 """
1135
1136 return self.with_segments(os.path.realpath(self, strict=strict))
1137
1138 if pwd:
1139 def owner(self, *, follow_symlinks=True):

Callers 15

check-epub.pyFile · 0.45
runMethod · 0.45
patchlevel.pyFile · 0.45
android.pyFile · 0.45
configure_host_pythonFunction · 0.45
mainFunction · 0.45
fix_encoding.pyFile · 0.45
filterfuncFunction · 0.45
create_stdlib_zipFunction · 0.45
mainFunction · 0.45
__main__.pyFile · 0.45

Calls 2

with_segmentsMethod · 0.45
realpathMethod · 0.45

Tested by

no test coverage detected