File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,9 +48,9 @@ pub fn parse(input: &BStr) -> Result<Url, parse::Error> {
48
48
/// If more precise control of the resolution mechanism is needed, then use the [expand_path::with()] function.
49
49
pub fn expand_path ( user : Option < & expand_path:: ForUser > , path : & BStr ) -> Result < PathBuf , expand_path:: Error > {
50
50
expand_path:: with ( user, path, |user| match user {
51
- expand_path:: ForUser :: Current => home :: home_dir ( ) ,
51
+ expand_path:: ForUser :: Current => gix_path :: env :: home_dir ( ) ,
52
52
expand_path:: ForUser :: Name ( user) => {
53
- home :: home_dir ( ) . and_then ( |home| home. parent ( ) . map ( |home_dirs| home_dirs. join ( user. to_string ( ) ) ) )
53
+ gix_path :: env :: home_dir ( ) . and_then ( |home| home. parent ( ) . map ( |home_dirs| home_dirs. join ( user. to_string ( ) ) ) )
54
54
}
55
55
} )
56
56
}
You can’t perform that action at this time.
0 commit comments