Skip to main content

application_data_local_directory

Function application_data_local_directory 

Source
pub fn application_data_local_directory(application_id: &str) -> Option<PathBuf>
Expand description

Resolves the persistent, local application-data directory through the operating system’s standard project-directory conventions.

The caller supplies a stable application identifier (normally a reverse domain ID). Incular intentionally never derives it from a window title, executable path, current directory, or transient window ID. Restoration snapshots belong in local data rather than the regenerable cache directory.