Skip to main content

device_data_dir

Function device_data_dir 

Source
pub fn device_data_dir() -> Option<PathBuf>
Expand description

The device’s own store of apps and the runtimes they run on: APPS_DATA_DIR_ENV when it names an absolute path, else the platform data directory’s tilo-apps.

One directory per device, not per person: the daemon that installs an app and launches it reads the same files as every person’s session, so a runtime it starts an app on is never inside one person’s private directories.