choose_app_strategy

Function choose_app_strategy 

Source
pub fn choose_app_strategy(args: AppStrategyArgs) -> Result<Xdg, HomeDirError>
Expand description

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