Returns True if the path is a file.
(self)
| 305 | return self.github_tree.is_folder(self.subpath) |
| 306 | |
| 307 | def is_file(self) -> bool: |
| 308 | """Returns True if the path is a file.""" |
| 309 | return self.github_tree.is_file(pathlib.PurePosixPath(self.subpath)) |
| 310 | |
| 311 | def exists(self) -> bool: |
| 312 | """Returns True if the path exists.""" |
no outgoing calls