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

Method NormalizePath

python/pyarrow/src/arrow/python/filesystem.cc:194–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194Result<std::string> PyFileSystem::NormalizePath(std::string path) {
195 std::string normalized;
196 auto st = SafeCallIntoPython([&]() -> Status {
197 vtable_.normalize_path(handler_.obj(), path, &normalized);
198 return CheckPyError();
199 });
200 RETURN_NOT_OK(st);
201 return normalized;
202}
203
204} // namespace fs
205} // namespace py

Callers

nothing calls this directly

Calls 3

SafeCallIntoPythonFunction · 0.85
CheckPyErrorFunction · 0.85
normalize_pathMethod · 0.45

Tested by

no test coverage detected