Skip to main content

Module paths

Module paths 

Source
Expand description

Where a project’s daemon keeps its socket and index snapshot.

State lives under the user cache dir ($RGX_CACHE_DIR, else the config file’s cache_dir, else $XDG_CACHE_HOME/rgx, else ~/.cache/rgx), with a <hash> subdir keyed by the canonical root path, so rgx never writes into the repo it indexes.

Functions§

resolve_root
Canonicalize a root argument (defaulting to the current directory).
snapshot_path
state_dir
The per-root state directory, created on demand.