Return an absolute version of this path by prepending the current working directory. No normalization or symlink resolution is performed. Use resolve() to get the canonical path to a file.
(self)
| 969 | yield p |
| 970 | |
| 971 | def absolute(self): |
| 972 | """Return an absolute version of this path by prepending the current |
| 973 | working directory. No normalization or symlink resolution is performed. |
| 974 | |
| 975 | Use resolve() to get the canonical path to a file. |
| 976 | """ |
| 977 | if self.is_absolute(): |
| 978 | return self |
| 979 | return self._from_parts([self.cwd()] + self._parts) |
| 980 | |
| 981 | def resolve(self, strict=False): |
| 982 | """ |
nothing calls this directly
no test coverage detected