Expand description
Expansion of Path
values
These functions are the same as the ones in the crate toplevel,
except that they take Path
s as input and return Cow<Path>
.
(Note that the individual doc comments and examples still refer to
str
and String
and so on - please refer to the actual types.
The semantics are as described.)
Structs§
- Lookup
Error - Represents a variable lookup error.
Functions§
- env
- Performs the environment expansion using the default system context.
- env_
with_ context - Performs the environment expansion using the provided context.
- env_
with_ context_ no_ errors - Same as
env_with_context()
, but forbids the variable lookup function to return errors. - full
- Performs both tilde and environment expansions in the default system context.
- full_
with_ context - Performs both tilde and environment expansion using the provided contexts.
- full_
with_ context_ no_ errors - Same as
full_with_context()
, but forbids the variable lookup function to return errors. - tilde
- Performs the tilde expansion using the default system context.
- tilde_
with_ context - Performs the tilde expansion using the provided context.