Skip to main content

Module arti_client_paths

Module arti_client_paths 

Source
Expand description

Base paths for use with arti clients.

This code is defined in tor-config-path rather than in arti-client so that other programs (notably arti-rpc-client-core) can use it.

Re-exportsยง

use std::borrow::Cow; ๐Ÿ”’
use std::path::PathBuf; ๐Ÿ”’
use directories::ProjectDirs; ๐Ÿ”’
use std::sync::LazyLock; ๐Ÿ”’
use crate::CfgPathError; ๐Ÿ”’
use crate::CfgPathResolver; ๐Ÿ”’

Functionsยง

arti_client_base_resolver
A CfgPathResolver with the base variables configured for a TorClientConfig in arti-client.
get_program_dir ๐Ÿ”’
Return the directory holding the currently executing program.
project_dirs ๐Ÿ”’
Return a ProjectDirs object for the Arti project.