ExpandOptions

Type Alias ExpandOptions 

Source
pub type ExpandOptions = ExpandOptions;
Expand description

Expand options

Aliased Type§

pub struct ExpandOptions {
    pub expansion_type: Option<ExpansionType>,
    pub default_to_empty: bool,
}

Fields§

§expansion_type: Option<ExpansionType>

The expansion type (unix/windows/…)

§default_to_empty: bool

If true (default), empty variables will be replaced with empty text, false to keep original variable untouched. This is ignored in case of expansion type: UnixBracketsWithDefaults and a default is provided.