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