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

Function realpath

tests/test_pathutils.py:16–17  ·  view source on GitHub ↗
(path: PurePath)

Source from the content-addressed store, hash-verified

14is_posix_host = PurePath() == PurePosixPath()
15
16def realpath(path: PurePath) -> Path:
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)

Callers 3

Calls 1

resolveMethod · 0.45

Tested by

no test coverage detected