Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ ToBackslashes
Function
ToBackslashes
cpp/src/arrow/filesystem/path_util.cc:309–317 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
307
}
308
309
std::string ToBackslashes(std::string_view v) {
310
std::string s(v);
311
for (auto& c : s) {
312
if (c ==
'/'
) {
313
c =
'\\'
;
314
}
315
}
316
return s;
317
}
318
319
std::string ToSlashes(std::string_view v) {
320
std::string s(v);
Callers
1
TEST
Function · 0.85
Calls
no outgoing calls
Tested by
1
TEST
Function · 0.68