Expand description
Filesystem path utilities
Modules§
Functions§
- config_
dir - Returns
$XDG_CONFIG_HOME
,$HOME/.config
, orNone
. - expand_
path - get_
config_ path - home_
dir - Returns the path to the user’s home directory.
Use
$HOME
, fallbacks tolibc::getpwuid_r
, otherwiseNone
. - is_
absolute_ 🔒path - join_
config_ path - Join a path with
config_dir()/darkfi
. - load_
keypair_ to_ str