varexpand

Function varexpand 

Source
pub fn varexpand(s: &str, mode: u32) -> String
Expand description

Expands ${x?then:else} variable expressions according to mode execution bits, matching varexpand in softmagic.c.