Skip to main content

Crate tor_config_path

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§

addr
Support for shell expansion in general::SocketAddr.
arti_client_paths 🔒
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_resolver
A CfgPathResolver with the base variables configured for a TorClientConfig in arti-client.
expand 🔒
Helper: expand a directory given as a string.
home
Return the user’s home directory used when expanding paths.