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

Method readlink

Lib/pathlib/__init__.py:971–975  ·  view source on GitHub ↗

Return the path to which the symbolic link points.

(self)

Source from the content-addressed store, hash-verified

969
970 if hasattr(os, "readlink"):
971 def readlink(self):
972 """
973 Return the path to which the symbolic link points.
974 """
975 return self.with_segments(os.readlink(self))
976 else:
977 def readlink(self):
978 """

Callers 7

copyfileFunction · 0.45
_copytreeFunction · 0.45
moveFunction · 0.45
gettarinfoMethod · 0.45
lookupmoduleMethod · 0.45
_follow_symlinksFunction · 0.45
_copy_from_symlinkMethod · 0.45

Calls 2

with_segmentsMethod · 0.45

Tested by

no test coverage detected