package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Jan 3, 2026
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Load loads an XML configuration file from path into cfg.
cfg must be a pointer.
The function performs a single XML decode from the file.
Save writes cfg as XML to path.
Save is crash-safe:
- data is written to a temporary file
- the file is synced
- the file is atomically renamed to the target path
The parent directory is created if it does not exist.
Concurrent writes to the same path are not synchronized.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.