MCPcopy 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
795String ToWindowsPath(const String& path)
796{
797 String winpath = path;
798 replace_char(&*winpath.begin(), '/', '\\');
799 return winpath;
800}
801
802String ToUnixPath(const String& path)
803{

Callers 2

FindItemFromPathsFunction · 0.85
RunFileDiffMethod · 0.85

Calls 2

replace_charFunction · 0.85
beginMethod · 0.45

Tested by

no test coverage detected