Like stat(), except if the path points to a symlink, the symlink's status information is returned, rather than its target's.
(self)
| 852 | return os.stat(self, follow_symlinks=follow_symlinks) |
| 853 | |
| 854 | def lstat(self): |
| 855 | """ |
| 856 | Like stat(), except if the path points to a symlink, the symlink's |
| 857 | status information is returned, rather than its target's. |
| 858 | """ |
| 859 | return os.lstat(self) |
| 860 | |
| 861 | def exists(self, *, follow_symlinks=True): |
| 862 | """ |
no outgoing calls