Module tor_config::path
source · Expand description
A path type exposed from the configuration crate
This type allows the user to specify paths as strings, with some support for tab expansion and user directory support.
Structs§
- A path in a configuration file: tilde expansion is performed, along with expansion of certain variables.
- Inner implementation of PathInner:Literal
Enums§
- An error that has occurred while expanding a path.
- Inner implementation of CfgPath
Functions§
- Return a UserDirs object for the current user.
- Helper: expand a directory given as a string.
- Shellexpand helper: Expand a shell variable if we can.
- Shellexpand helper: return the user’s home directory if we can.
- Shellexpand helper: return the directory holding the currently executing program.
- Return a ProjectDirs object for the Arti project.