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

Method IsFile

cpp/src/arrow/filesystem/hdfs.cc:303–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301 }
302
303 bool IsFile(const std::string& path) {
304 io::HdfsPathInfo info;
305 return GetPathInfo(path, &info) && info.kind == io::ObjectType::FILE;
306 }
307
308 bool GetPathInfo(const std::string& path, io::HdfsPathInfo* info) {
309 return client_->GetPathInfo(path, info).ok();

Callers 8

garrow_file_info_is_fileFunction · 0.80
MakeMethod · 0.80
MakeDatasetMethod · 0.80
DiscoverFilesFromDirFunction · 0.80
CopyFilesFunction · 0.80
GetFileInfoMethod · 0.80
MoveMethod · 0.80
CopyFileMethod · 0.80

Calls

no outgoing calls

Tested by 1

MakeDatasetMethod · 0.64