Module path

Source
Expand description

Filesystem path utilities

Modules§

home_dir_impl 🔒

Functions§

config_dir
Returns $XDG_CONFIG_HOME, $HOME/.config, or None.
expand_path
get_config_path
home_dir
Returns the path to the user’s home directory. Use $HOME, fallbacks to libc::getpwuid_r, otherwise None.
is_absolute_path 🔒
join_config_path
Join a path with config_dir()/darkfi.
load_keypair_to_str