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

Function NotEmpty

cpp/src/arrow/filesystem/util_internal.cc:76–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76Status NotEmpty(std::string_view path) {
77 return Status::IOError("Directory not empty: '", path, "'")
78 .WithDetail(StatusDetailFromErrno(ENOTEMPTY));
79}
80
81Status NotAFile(std::string_view path) {
82 return Status::IOError("Not a regular file: '", path, "'");

Callers

nothing calls this directly

Calls 2

IOErrorFunction · 0.85
StatusDetailFromErrnoFunction · 0.85

Tested by

no test coverage detected