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

Method CleanupIfFailed

cpp/src/arrow/filesystem/s3fs.cc:1838–1844  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1836 }
1837
1838 Status CleanupIfFailed(Status status) {
1839 if (!status.ok()) {
1840 RETURN_NOT_OK(CleanupAfterClose());
1841 return status;
1842 }
1843 return Status::OK();
1844 }
1845
1846 Status Close() override {
1847 if (closed_) return Status::OK();

Callers 1

CloseAsyncMethod · 0.95

Calls 2

OKFunction · 0.50
okMethod · 0.45

Tested by

no test coverage detected