Return whether this path is a symlink.
(self)
| 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: |