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

Method Close

c_glib/arrow-glib/input-stream.cpp:745–757  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

743 }
744
745 arrow::Status
746 Close() override
747 {
748 std::lock_guard<std::mutex> guard(lock_);
749 GError *error = NULL;
750 if (g_input_stream_close(input_stream_, NULL, &error)) {
751 return arrow::Status::OK();
752 } else {
753 return garrow_error_to_status(error,
754 arrow::StatusCode::IOError,
755 "[gio-input-stream][close]");
756 }
757 }
758
759 arrow::Result<int64_t>
760 Tell() const override

Calls 2

garrow_error_to_statusFunction · 0.85
OKFunction · 0.50

Tested by

no test coverage detected