MCPcopy Create free account
hub / github.com/apache/arrow / DoNormalizePath

Function DoNormalizePath

cpp/src/arrow/filesystem/localfs.cc:64–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64Result<std::string> DoNormalizePath(std::string path) {
65 RETURN_NOT_OK(ValidatePath(path));
66 ARROW_ASSIGN_OR_RAISE(auto fn, PlatformFilename::FromString(path));
67 return fn.ToString();
68}
69
70#ifdef _WIN32
71

Callers 2

NormalizePathMethod · 0.85
MakeUriMethod · 0.85

Calls 2

ValidatePathFunction · 0.70
ToStringMethod · 0.45

Tested by

no test coverage detected