Skip to main content

Module identity

Module identity 

Source
Expand description

Device identity. device_id persists in $ATOMCODE_HOME/device_id.

Functions§

default_atomcode_dir
Return the AtomCode data directory, respecting the ATOMCODE_HOME environment variable. When ATOMCODE_HOME is set, it IS the data root (no .atomcode suffix is appended). Otherwise falls back to $HOME/.atomcode, or ./.atomcode when $HOME cannot be resolved.
load_or_create
real_home_dir
Get the real user’s home directory, accounting for sudo scenarios.