| 181 | } |
| 182 | |
| 183 | Result<std::shared_ptr<io::OutputStream>> PyFileSystem::OpenAppendStream( |
| 184 | const std::string& path, const std::shared_ptr<const KeyValueMetadata>& metadata) { |
| 185 | std::shared_ptr<io::OutputStream> stream; |
| 186 | auto st = SafeCallIntoPython([&]() -> Status { |
| 187 | vtable_.open_append_stream(handler_.obj(), path, metadata, &stream); |
| 188 | return CheckPyError(); |
| 189 | }); |
| 190 | RETURN_NOT_OK(st); |
| 191 | return stream; |
| 192 | } |
| 193 | |
| 194 | Result<std::string> PyFileSystem::NormalizePath(std::string path) { |
| 195 | std::string normalized; |
nothing calls this directly
no test coverage detected