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

Function StatusDetailFromErrno

cpp/src/arrow/util/io_util.cc:450–455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

448} // namespace
449
450std::shared_ptr<StatusDetail> StatusDetailFromErrno(int errnum) {
451 if (!errnum) {
452 return nullptr;
453 }
454 return std::make_shared<ErrnoDetail>(errnum);
455}
456
457std::optional<int> ErrnoFromStatusDetail(const StatusDetail& detail) {
458 if (detail.type_id() == kErrnoDetailTypeId) {

Callers 6

PathNotFoundFunction · 0.85
IsADirFunction · 0.85
NotADirFunction · 0.85
NotEmptyFunction · 0.85
ToArrowStatusFunction · 0.85
StatusFromErrnoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected