Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
15
def
looks_like_windows_path(value: str):
16
return
len(value) >= 3 and value[1] ==
":"
and value[2] in (
"\\"
,
"/"
)
17
18
19
def
posix_to_windows(path_value: str):
Callers
2
posix_to_windows
Function · 0.85
looks_like_posix_option
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected