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