(self, path: str)
| 182 | return results |
| 183 | |
| 184 | def isfile(self, path: str) -> bool: |
| 185 | st = self.stat_or_none(path) |
| 186 | if st is None: |
| 187 | return False |
| 188 | return stat.S_ISREG(st.st_mode) |
| 189 | |
| 190 | def isfile_case(self, path: str, prefix: str) -> bool: |
| 191 | """Return whether path exists and is a file. |