MCPcopy
hub / github.com/Nuitka/Nuitka / getNormalizedPathJoin

Function getNormalizedPathJoin

nuitka/utils/FileOperations.py:2075–2081  ·  view source on GitHub ↗

Return join of path elements as a normalized path that is also a native path, i.e. only legal characters. Needed, because MSYS2 likes to keep "/" in normalized paths.

(*paths)

Source from the content-addressed store, hash-verified

2073
2074
2075def getNormalizedPathJoin(*paths):
2076 """Return join of path elements as a normalized path that is also a native path,
2077 i.e. only legal characters.
2078
2079 Needed, because MSYS2 likes to keep "/" in normalized paths.
2080 """
2081 return getNormalizedPath(os.path.join(*paths))
2082
2083
2084def getFileContentsHash(filename, as_string=True, line_filter=None):

Callers 15

_getCacheFilenameFunction · 0.90
_getModuleFilenamesFunction · 0.90
makeSourceDirectoryFunction · 0.90
_runCPgoBinaryFunction · 0.90
compileTreeFunction · 0.90
getSourceDirectoryPathFunction · 0.90
getResultBasePathFunction · 0.90
getResultFullpathFunction · 0.90
__init__Method · 0.90
sysexitMethod · 0.90
compileLibraryTestFunction · 0.90

Calls 1

getNormalizedPathFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…