Constructs a validated local filesystem storage component for use as either
the governance or data component of a datom_store. Validates that the path
exists (or is creatable) and is writable.
Examples
tmp <- tempfile("datom_store_")
store <- datom_store_local(path = tmp, validate = TRUE)
#> ℹ Created store directory /tmp/Rtmp0YCcPh/datom_store_1a316717b3f3.
store
#>
#> ── datom local store component
#> • Path: /tmp/Rtmp0YCcPh/datom_store_1a316717b3f3
#> • Validated: TRUE
is_datom_store_local(store)
#> [1] TRUE
unlink(tmp, recursive = TRUE)