[][src]Function git_url::expand_path

pub fn expand_path(
    user: Option<&ForUser>,
    path: &BStr
) -> Result<PathBuf, Error>

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 with() function.