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

Method Exists

cpp/src/arrow/io/hdfs.cc:416–421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

414 }
415
416 bool Exists(const std::string& path) {
417 // hdfsExists does not distinguish between RPC failure and the file not
418 // existing
419 int ret = driver_->Exists(fs_, path.c_str());
420 return ret == 0;
421 }
422
423 Status GetCapacity(int64_t* nbytes) {
424 tOffset ret = driver_->GetCapacity(fs_);

Callers

nothing calls this directly

Calls 1

ExistsMethod · 0.45

Tested by

no test coverage detected