emkornfield commented on a change in pull request #11996: URL: https://github.com/apache/arrow/pull/11996#discussion_r779940287
########## File path: cpp/src/arrow/filesystem/gcsfs.cc ########## @@ -505,20 +555,23 @@ class GcsFileSystem::Impl { } private: - static Result<FileInfo> GetFileInfoDirectory(const GcsPath& path, - const google::cloud::Status& status) { - using ::google::cloud::StatusCode; - auto canonical = internal::EnsureTrailingSlash(path.full_path); + static bool IsDirectory(gcs::ObjectMetadata const& o) { Review comment: ```suggestion static bool IsDirectory(const gcs::ObjectMetadata& o) { ``` nit -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org