Skip to contents

Virtual chunk containers of a repository

Usage

ic_repo_containers(repo)

Arguments

repo

an icechunk_repo.

Value

a data frame: prefix (URL prefix of each declared container) and authorized (whether this repository object may read from it).

Examples

ex <- ic_example_repo()
repo <- ic_repo_open(ex$path)
ic_repo_containers(repo)           # declared, not yet authorised
#>                                                         prefix authorized
#> 1 file:///tmp/RtmpVaRScy/icechunk-example-35c91db4eaa1/source/      FALSE
repo <- ic_repo_open(ex$path, authorize = "file://")
ic_repo_containers(repo)           # a broader prefix covers it
#>                                                         prefix authorized
#> 1 file:///tmp/RtmpVaRScy/icechunk-example-35c91db4eaa1/source/       TRUE