use std::path::PathBuf;
#[derive(Debug, Clone, Default, PartialEq, Eq)]
pub struct EnvDelta {
pub vars: Vec<(String, String)>,
pub path_entries: Vec<PathBuf>,
}
impl EnvDelta {
pub fn with_var(mut self, key: impl Into<String>, value: impl Into<String>) -> Self {
self.vars.push((key.into(), value.into()));
self
}
pub fn with_path(mut self, value: PathBuf) -> Self {
self.path_entries.push(value);
self
}
}