pub struct UnitInput<'a, 's> {
pub packages: &'a Provider,
pub data: &'a Data,
pub read_state: &'a State<'s>,
pub state: &'a mut State<'s>,
pub now: Timestamp,
pub git_system: &'a dyn GitSystem,
}
Expand description
All inputs for a system.
Fields§
§packages: &'a Provider
Primary package manager.
data: &'a Data
Data loaded from the hierarchy.
read_state: &'a State<'s>
Read-only state. If none, the read state is the mutated state.
state: &'a mut State<'s>
Unit-local state that can be mutated.
now: Timestamp
Current timestamp.
git_system: &'a dyn GitSystem
Current git system.