Convert a relative virtual path to an absolute virtual path based on the current working directory. Args: virtpath : relative virtual path Returns: the absolute virtual path
(self, virtpath: str)
| 295 | return vpath.is_absolute() |
| 296 | |
| 297 | def virtual_abspath(self, virtpath: str) -> str: |
| 298 | """Convert a relative virtual path to an absolute virtual path based |
| 299 | on the current working directory. |
| 300 | |
| 301 | Args: |
| 302 | virtpath : relative virtual path |
| 303 | |
| 304 | Returns: the absolute virtual path |
| 305 | """ |
| 306 | |
| 307 | absvpath = self.__virtual_abspath(virtpath) |
| 308 | |
| 309 | return str(absvpath) |
| 310 | |
| 311 | def virtual_to_host_path(self, virtpath: str) -> str: |
| 312 | """Convert a virtual path to its corresponding path on the hosting system. |
no test coverage detected