Retrieve the contents of the file at this path. @return: the contents of the file @rtype: L{bytes}
(self)
| 391 | raise NotImplementedError() |
| 392 | |
| 393 | def getContent(self) -> bytes: |
| 394 | """ |
| 395 | Retrieve the contents of the file at this path. |
| 396 | |
| 397 | @return: the contents of the file |
| 398 | @rtype: L{bytes} |
| 399 | """ |
| 400 | with self.open() as fp: |
| 401 | return fp.read() |
| 402 | |
| 403 | def parents(self) -> Iterable[AbstractFilePath[AnyStr]]: |
| 404 | """ |