Function etcetera::base_strategy::choose_base_strategy
source · pub fn choose_base_strategy(
) -> Result<Xdg, <Xdg as BaseStrategy>::CreationError>
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.