Crate tor_config_path

Source
Expand description

§tor-config-path

Low-level file path handling for configuration of the Arti Tor implementation.

§Overview

This crate is part of Arti, a project to implement Tor in Rust.


License: MIT OR Apache-2.0

Modules§

addraddress
Support for shell expansion in [general::SocketAddr].
arti_client_paths 🔒 arti-client
Base paths for use with arti clients.

Structs§

CfgPath
A path in a configuration file: tilde expansion is performed, along with expansion of variables provided by a CfgPathResolver.
CfgPathResolver
A variable resolver for paths in a configuration file.
LiteralPath 🔒
Inner implementation of PathInner:Literal

Enums§

CfgPathError
An error that has occurred while expanding a path.
PathInner 🔒
Inner implementation of CfgPath

Functions§

arti_client_base_resolverarti-client
A CfgPathResolver with the base variables configured for a TorClientConfig in arti-client.
expand 🔒 expand-paths
Helper: expand a directory given as a string.
homeexpand-paths
Return the user’s home directory used when expanding paths.