ase_profile_storage

Full name: ase2sprkkr.ase_profile_storage

Description

Safe persistence of the virtual ASE SPR-KKR execution profile.

ASE configuration is INI, not ASE2SPRKKR YAML. Only the [sprkkr] section in the highest-priority permitted file defining [sprkkr] is edited; Linux /etc and Windows shared configuration are protected by default.

Functions

_has_sprkkr_section(path)

Check whether one ASE configuration file defines [sprkkr].

_is_system_config_path(path)

Classify protected global configuration paths, including symlinks.

_is_system_config_path_resolved(path, roots)

Check a resolved Windows path without following links again.

_rewrite_section(original, updates)

Edit INI options without rewriting unrelated sections or comments.

ase_config_candidates()

Return ASE's configuration search paths in increasing precedence.

ase_config_target(*[, system])

Select the highest-priority permitted ASE file with [sprkkr].

write_ase_sprkkr(updates, *[, system])

Atomically update ASE's [sprkkr] section and preserve other settings.