Return the path as a 'file' URI.
(self)
| 913 | return "{0}({1!r})".format(self.__class__.__name__, self.as_posix()) |
| 914 | |
| 915 | def as_uri(self): |
| 916 | """Return the path as a 'file' URI.""" |
| 917 | if not self.is_absolute(): |
| 918 | raise ValueError("relative path can't be expressed as a file URI") |
| 919 | return self._flavour.make_uri(self) |
| 920 | |
| 921 | @property |
| 922 | def _cparts(self): |
nothing calls this directly
no test coverage detected