choose_base_strategy

Function choose_base_strategy 

Source
pub fn choose_base_strategy() -> Result<Xdg, HomeDirError>
Expand description

Returns the current OS’s default BaseStrategy. This uses the Windows strategy on Windows, and Xdg everywhere else. This is the convention used by most CLI applications.