choose_native_strategy

Function choose_native_strategy 

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

Returns the current OS’s native BaseStrategy. This uses the Windows strategy on Windows, Apple on macOS & iOS, and Xdg everywhere else. This is the convention used by most GUI applications.