MCPcopy Create free account
hub / github.com/qilingframework/qiling / nt_to_native

Function nt_to_native

tests/test_pathutils.py:19–22  ·  view source on GitHub ↗
(rootfs: str, cwd: str, path: str)

Source from the content-addressed store, hash-verified

17 return Path(path).resolve()
18
19def nt_to_native(rootfs: str, cwd: str, path: str) -> str:
20 p = QlOsPath(rootfs, cwd, QL_OS.WINDOWS)
21
22 return p.virtual_to_host_path(path)
23
24def posix_to_native(rootfs: str, cwd: str, path: str) -> str:
25 p = QlOsPath(rootfs, cwd, QL_OS.LINUX)

Callers 2

Calls 2

virtual_to_host_pathMethod · 0.95
QlOsPathClass · 0.90

Tested by

no test coverage detected