Memory.Global (fnord v0.9.29)
View SourceGlobal memory storage implementation for the Memory behaviour.
This module uses the shared file-backed Memory.FileStore and primarily
supplies the global-memory runtime paths and availability semantics.
Global memories are stored as JSON files in ~/.fnord/memory.
Summary
Functions
Returns decoded global memories for integration points that need a one-pass listing path.
Returns the global memory storage directory. Exposed so callers can
build per-memory lock paths without importing the internal store/0
helper.
Functions
Returns decoded global memories for integration points that need a one-pass listing path.
Unlike list/0, which is the title-oriented listing required by the Memory
behaviour, this function returns fully decoded Memory structs.
@spec storage_path() :: String.t()
Returns the global memory storage directory. Exposed so callers can
build per-memory lock paths without importing the internal store/0
helper.