.mailglass.toml manifest helpers for deterministic installer reruns.
Summary
Functions
Returns the default manifest path.
Computes a deterministic SHA-256 hash for any binary content.
Loads a manifest from disk. Missing files return an empty manifest.
Returns a new in-memory manifest shape.
Returns a previously tracked hash for path.
Inserts or updates a tracked path hash in memory.
Updates installer version and operation timestamp in memory.
Writes a manifest to disk in deterministic order.
Types
Functions
@spec default_path() :: String.t()
Returns the default manifest path.
Computes a deterministic SHA-256 hash for any binary content.
Loads a manifest from disk. Missing files return an empty manifest.
@spec new() :: t()
Returns a new in-memory manifest shape.
Returns a previously tracked hash for path.
Inserts or updates a tracked path hash in memory.
Updates installer version and operation timestamp in memory.
Writes a manifest to disk in deterministic order.