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

Method is_symlink

Lib/zipfile/_path/__init__.py:410–416  ·  view source on GitHub ↗

Return whether this path is a symlink.

(self)

Source from the content-addressed store, hash-verified

408 return pathlib.PurePosixPath(self.at).match(path_pattern)
409
410 def is_symlink(self):
411 """
412 Return whether this path is a symlink.
413 """
414 info = self.root.getinfo(self.at)
415 mode = info.external_attr >> 16
416 return stat.S_ISLNK(mode)
417
418 def glob(self, pattern):
419 if not pattern:

Callers

nothing calls this directly

Calls 1

getinfoMethod · 0.45

Tested by

no test coverage detected