Module git_url::expand_path[][src]

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

expand_path

Expand path for the given user, which can be obtained by parse(), resolving the home directories of user 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 given user, which can be obtained by parse(), resolving them with home_for_user(&user).