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

Method IsFile

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

Source from the content-addressed store, hash-verified

589 }
590
591 bool IsFile(const std::string& path) {
592 HdfsPathInfo info;
593 return GetPathInfo(path, &info) && info.kind == FileType::File;
594 }
595
596 bool GetPathInfo(const std::string& path, HdfsPathInfo* info) {
597 return GetPathInfoStatus(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