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

Method IsDirectory

cpp/src/arrow/filesystem/gcsfs.cc:644–646  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

642
643 private:
644 static bool IsDirectory(const gcs::ObjectMetadata& o) {
645 return o.has_metadata("arrow/gcsfs") && o.metadata("arrow/gcsfs") == "directory";
646 }
647
648 static Result<FileInfo> GetFileInfoBucket(const GcsPath& path,
649 const google::cloud::Status& status) {

Callers 11

garrow_file_info_is_dirFunction · 0.45
MakeMethod · 0.45
DeleteFileMethod · 0.45
CopyFilesFunction · 0.45
CleanupDirectoryNamesMethod · 0.45
GetFileInfoMethod · 0.45
MoveMethod · 0.45
OpenInputStreamMethod · 0.45
OpenInputFileMethod · 0.45
GetDatasetFromPathFunction · 0.45

Calls 1

metadataMethod · 0.45

Tested by 1

CleanupDirectoryNamesMethod · 0.36