| 192 | } |
| 193 | |
| 194 | Result<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 |
nothing calls this directly
no test coverage detected