Skip to contents

Reads the store index and returns its rows as data. The store assumes a single writer; no locking or concurrent update handling is performed.

Usage

store_list(store, kind = NULL)

Arguments

store

An insider_store handle created by insider_store().

kind

Optional artifact kind to filter on.

Value

A data frame with one row per stored artifact.

Examples

proj <- tempfile("proj-")
dir.create(proj)
store <- insider_store(proj, create = TRUE)
artifact <- structure(list(name = "demo"), class = "insider_demo")
store_save(store, artifact, label = "demo artifact")
#> Saved "demo-c6be45ee" to /tmp/Rtmpvw2GbA/proj-180e11bc76f4/.insider.
store_list(store)
#>              id kind         label package package_version insider_version
#> 1 demo-c6be45ee demo demo artifact    <NA>            <NA>           0.2.0
#>   schema_version                  created tags               object_path
#> 1              1 2026-08-14T02:29:05+0000      objects/demo-c6be45ee.rds