(self, path: str)
| 21 | return path in self.files |
| 22 | |
| 23 | def isdir(self, path: str) -> bool: |
| 24 | if not path.endswith(os.sep): |
| 25 | path += os.sep |
| 26 | return any(f.startswith(path) for f in self.files) |
| 27 | |
| 28 | def listdir(self, path: str) -> list[str]: |
| 29 | if not path.endswith(os.sep): |
no test coverage detected