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

Function realpath

Lib/ntpath.py:560–561  ·  view source on GitHub ↗
(path, *, strict=False)

Source from the content-addressed store, hash-verified

558except ImportError:
559 # realpath is a no-op on systems without _getfinalpathname support.
560 def realpath(path, *, strict=False):
561 return abspath(path)
562else:
563 def _readlink_deep(path, ignored_error=OSError):
564 # These error codes indicate that we should stop reading links and

Callers 2

_safe_realpathFunction · 0.90

Calls 11

normpathFunction · 0.90
_getfinalpathnameFunction · 0.90
isinstanceFunction · 0.85
strFunction · 0.85
lenFunction · 0.85
abspathFunction · 0.70
normcaseFunction · 0.70
isabsFunction · 0.70
joinFunction · 0.70
startswithMethod · 0.45

Tested by 1