View Source Magma.Config (Magma v0.2.0)
Cache for the vault-based configuration.
This singleton GenServer provides access to the cached
Magma.Config.Document
s in the Magma.Vault
.
Summary
Functions
Returns a Magma.Config.Artefact
document or a property of it.
Returns the path with Magma.Config.Artefact
documents in the vault.
Constructs a complete path to a artefact config document by joining the specified segments
to the artefacts_path/0
.
Returns a specification to start this module under a supervisor.
Returns a Magma.Config.Matter
document or a property of it.
Returns the path with Magma.Config.Matter
documents in the vault.
Constructs a complete path to a matter config document by joining the specified segments
to the matter_path/0
.
Returns the path with Magma.Config.Document
s in the vault.
Constructs a complete path to a config document by joining the specified segments
to the path/0
.
Returns the Magma.Project
document or a property of it.
Resets the cache of all documents.
Returns the Magma.Config.System
document or a property of it.
Returns the path with templates for the config document for a new vault.
Returns a Magma.Config.TextType
document or a property of it.
Returns a list of all text types.
Returns the path with Magma.Config.TextType
documents in the vault.
Constructs a complete path to a text type config document by joining the specified segments
to the text_types_path/0
.
Types
Functions
Returns a Magma.Config.Artefact
document or a property of it.
Returns the path with Magma.Config.Artefact
documents in the vault.
Constructs a complete path to a artefact config document by joining the specified segments
to the artefacts_path/0
.
Returns a specification to start this module under a supervisor.
See Supervisor
.
Returns a Magma.Config.Matter
document or a property of it.
Returns the path with Magma.Config.Matter
documents in the vault.
Constructs a complete path to a matter config document by joining the specified segments
to the matter_path/0
.
Returns the path with Magma.Config.Document
s in the vault.
Constructs a complete path to a config document by joining the specified segments
to the path/0
.
Returns the Magma.Project
document or a property of it.
Resets the cache of all documents.
@spec start_link(any()) :: GenServer.on_start()
Returns the Magma.Config.System
document or a property of it.
Returns the path with templates for the config document for a new vault.
Returns a Magma.Config.TextType
document or a property of it.
Returns a list of all text types.
Returns the path with Magma.Config.TextType
documents in the vault.
Constructs a complete path to a text type config document by joining the specified segments
to the text_types_path/0
.