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

Method resolve

Lib/pathlib/__init__.py:932–938  ·  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

930 return path
931
932 def resolve(self, strict=False):
933 """
934 Make the path absolute, resolving all symlinks on the way and also
935 normalizing it.
936 """
937
938 return self.with_segments(os.path.realpath(self, strict=strict))
939
940 if pwd:
941 def owner(self, *, follow_symlinks=True):

Callers 10

webpack.config.jsFile · 0.45
webpack.config.jsFile · 0.45
compile_fileFunction · 0.45
__init__.pyFile · 0.45
find_eq.pyFile · 0.45
auto_mark_fileFunction · 0.45
auto_mark_directoryFunction · 0.45
collect_original_methodsFunction · 0.45

Calls 2

realpathMethod · 0.80
with_segmentsMethod · 0.45

Tested by

no test coverage detected