Skip to main content

generate_store_file

Function generate_store_file 

Source
pub fn generate_store_file(entities: &[Entity]) -> String
Expand description

Generate store.rs — the unified Persistence<S> entry point.

Provides scoped repository access for each entity while owning a single CrdtDb<S> instance. This is the main API for the persistence layer.