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

Method Close

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

Source from the content-addressed store, hash-verified

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

Calls 2

garrow_error_to_statusFunction · 0.85
OKFunction · 0.50

Tested by

no test coverage detected