(self, path: StrPath)
| 167 | raise FileNotFoundError(resource) |
| 168 | |
| 169 | def is_resource(self, path: StrPath) -> bool: |
| 170 | return self.files().joinpath(path).is_file() |
| 171 | |
| 172 | def contents(self) -> Iterator[str]: |
| 173 | return (item.name for item in self.files().iterdir()) |