Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WinMerge/winmerge
/ ToWindowsPath
Function
ToWindowsPath
Src/paths.cpp:795–800 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
793
}
794
795
String ToWindowsPath(const String& path)
796
{
797
String winpath = path;
798
replace_char(&*winpath.begin(),
'/'
,
'\\'
);
799
return winpath;
800
}
801
802
String ToUnixPath(const String& path)
803
{
Callers
2
FindItemFromPaths
Function · 0.85
RunFileDiff
Method · 0.85
Calls
2
replace_char
Function · 0.85
begin
Method · 0.45
Tested by
no test coverage detected