
Detect whether An object of class <SubTreeFileSystem>
represents the base path of an S3 file system (i.e. the root of a cloud hub)
Source: R/utils-url.R
is_s3_base_fs.Rd
Detect whether An object of class <SubTreeFileSystem>
represents the base
path of an S3 file system (i.e. the root of a cloud hub)
Examples
hub_path <- arrow::s3_bucket("hubverse/hubutils/testhubs/simple/")
config_path <- hub_path$path("hub-config/admin.json")
is_s3_base_fs(hub_path)
#> [1] TRUE
is_s3_base_fs(config_path)
#> [1] FALSE