Documentation
¶
Overview ¶
Package platformpath resolves the platform-correct default data directory — ONE function every default path derives from (field report W1: the defaults were POSIX constants, so on Windows `/var/lib/appximo/files` silently resolved to `C:\var\lib\appximo\files`, a tree created at the drive root that the boot log announced in a format that does not exist on the system).
Linux (and every other Unix) keeps the historical `/var/lib/appximo` — production installs, the installer and the fleet supervisor all own that path, so nothing churns. Windows and macOS get their platform conventions. Every default remains overridable by its existing knob (APPXIMO_FILES_DIR, OBS_DB_PATH, the fleet manifest's data_dir, …) — this package only decides what "unset" means.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataDir ¶
func DataDir() string
DataDir returns the root directory for engine-owned data when no explicit path is configured:
Linux/Unix: /var/lib/appximo Windows: %LOCALAPPDATA%\Appximo (machine-local app data) macOS: ~/Library/Application Support/Appximo
It never creates the directory — callers create what they need lazily.
func FilesDir ¶
func FilesDir() string
FilesDir is the default root of the local content-addressable file store.
func FleetDataDir ¶
func FleetDataDir() string
FleetDataDir is the default fleet supervisor data root.
Types ¶
This section is empty.