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

Function posix_to_native

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

Source from the content-addressed store, hash-verified

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)
26
27 return p.virtual_to_host_path(path)
28
29
30class TestPathUtils(unittest.TestCase):

Callers 2

Calls 2

virtual_to_host_pathMethod · 0.95
QlOsPathClass · 0.90

Tested by

no test coverage detected