(self, path: str)
| 248 | return res |
| 249 | |
| 250 | def isdir(self, path: str) -> bool: |
| 251 | st = self.stat_or_none(path) |
| 252 | if st is None: |
| 253 | return False |
| 254 | return stat.S_ISDIR(st.st_mode) |
| 255 | |
| 256 | def exists(self, path: str, real_only: bool = False) -> bool: |
| 257 | st = self.stat_or_none(path) |