Expand description
Contains helpful functions to deal with paths in the context of parsing them for dotfiles configs.
Functionsยง
- convert_
path_ to_ absolute - Converts a file path to absolute if it is relative. If
current_dir
is provided it uses it for the base dir, otherwise it relies on std::env::current_dir() - process_
home_ dir_ in_ path - Checks for ~ and replaces it with a home directory if necessary.