Function gix_url::expand_path
source ยท pub fn expand_path(
user: Option<&ForUser>,
path: &BStr,
) -> Result<PathBuf, Error>
Expand description
Expand path
for the given user
, which can be obtained by parse()
, resolving the home directories
of user
automatically.
If more precise control of the resolution mechanism is needed, then use the expand_path::with() function.