Skip to main content

value_to_string_with_tilde

Function value_to_string_with_tilde 

Source
pub fn value_to_string_with_tilde(value: &Value, home: Option<&str>) -> String
Expand description

Convert a Value to its string representation, with tilde expansion for paths.

home is the session HOME from the kernel scope (see expand_tilde); None leaves ~/~/path unexpanded rather than reading the host env.