Expand description
Functions for expanding repository paths.
Enums§
- Error
- The error used by
parse()
,with()
andexpand_path()
. - ForUser
- Whether a repository is resolving for the current user, or the given one.
Functions§
- expand_
path - Expand
path
for the givenuser
, which can be obtained byparse()
, resolving the home directories ofuser
automatically. - for_
shell - Expand
path
for use in a shell and return the expanded path. - parse
- Parse user information from the given
path
, returning(possible user information, adjusted input path)
. - with
- Expand
path
for the givenuser
, which can be obtained byparse()
, resolving them withhome_for_user(&user)
.