ursa.store.backends.local

Local filesystem backend backed by obstore.store.LocalStore.

The configured root is combined with prefix (if any) and resolved to an absolute path; LocalStore confines all keys under that directory and creates it on demand.

Module Contents

Functions

build_local_store

Construct a Local-filesystem-backed ObjectStore for the given role.

API

ursa.store.backends.local.build_local_store(cfg: ursa.store.config.LocalStoreConfig, *, role: str) ursa.store.base.ObjectStore[source]

Construct a Local-filesystem-backed ObjectStore for the given role.