MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / looks_like_windows_path

Function looks_like_windows_path

Tools/Support/PortableMSVCWrapper.py:15–16  ·  view source on GitHub ↗
(value: str)

Source from the content-addressed store, hash-verified

13
14
15def looks_like_windows_path(value: str):
16 return len(value) >= 3 and value[1] == ":" and value[2] in ("\\", "/")
17
18
19def posix_to_windows(path_value: str):

Callers 2

posix_to_windowsFunction · 0.85
looks_like_posix_optionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected