Skip to main content

Module types

Module types 

Source

Structs§

CommitHash
ContentHash
DestPath
Normalized relative path coordinate (always forward-slash). Use resolve(root) to get a native filesystem path.
ItemId
Stable identity for an installed item — decoupled from source URL.
ItemName
MarsContext
Resolved context for a mars command — project root + managed output root.
RenameMap
Ordered rename rules, serialized as TOML inline table/map for compatibility.
RenameRule
SourceName
SourceSubpath
Normalized relative package coordinate under a fetched source root.
SourceUrl

Enums§

DestPathError
ItemKind
Kind of installable item.
SourceId
Stable source identity used for resolver deduplication.
SourceOrigin
Where an item came from — used for lock provenance and display.
SourceSubpathError

Functions§

managed_cmd
Return a command reference string suitable for the current runtime mode. When MERIDIAN_MANAGED=1 is set (i.e. invoked through meridian), prefix the command with meridian so that user-facing hints read correctly.
meridian_managed_from_env