Skip to main content

Module registry

Module registry 

Source
Expand description

The store of owned models: a models.json file holding every ModelRecord the kernel knows about, with change-detecting writes and corruption recovery.

Structs§

Registry
The in-memory model store, backed by <directory>/models.json. Every mutating method persists the change before returning. Not safe for concurrent writers: two instances on the same directory each hold their own view and the last to save wins, so a single process should own one instance.

Enums§

RegistryError
Errors raised by the registry.