pub struct Warm {Show 14 fields
pub identity: String,
pub outputs: bool,
pub paths: Vec<String>,
pub env: BTreeMap<String, String>,
pub directory: bool,
pub max_size: Option<u64>,
pub remote: bool,
pub preserve_mtimes: bool,
pub portable: bool,
pub key: Vec<KeyPart>,
pub restore_keys: Option<usize>,
pub survive: Vec<String>,
pub background: bool,
pub each_path: bool,
}Expand description
A target’s qk:warm.
Fields§
§identity: StringWhat its saves belong to: the task, or the group it shares them with.
outputs: bool§paths: Vec<String>Workspace-relative scratch paths.
env: BTreeMap<String, String>Variables for the task, with tokens expanded.
directory: boolWhether any variable names {warm}, which makes it a group.
max_size: Option<u64>§remote: bool§preserve_mtimes: boolWhether a worktree’s own save comes back with the modification times it
was saved with, rather than RESTORED_AT.
portable: boolWhether another worktree’s save, or the remote’s, may be restored.
key: Vec<KeyPart>What decides whether a save suits this checkout, in order.
restore_keys: Option<usize>How many leading parts of the key a save must match when none matches
it whole, or None to restore only exact matches.
survive: Vec<String>Dependencies that delete the paths, which are moved aside while one
runs: target in the task’s project, or project:target.
background: boolWhether saving happens after the task has reported, in the background, rather than before.
each_path: boolWhether each of paths is restored when it alone is missing, rather
than all of them only when none is on disk.