| 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) { |