Function xdirs::user_app_container_dir_for[][src]

pub fn user_app_container_dir_for(app: &str) -> Option<PathBuf>

Returns the path to the application container directory, for a given user application name.

The returned value depends on the operating system and is either a Some, containing a value from the following table, or a None.

PlatformValueExample
Linux--
macOS$HOME/Applications/{app}/Applications/MyApp.app
Windows--