Module expand_path

Source
Expand description

Functions for expanding repository paths.

Enums§

Error
The error used by parse(), with() and expand_path().
ForUser
Whether a repository is resolving for the current user, or the given one.

Functions§

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 given user, which can be obtained by parse(), resolving them with home_for_user(&user).