Add new key-value pair to end of section. Error if key already exists.
Add new key-value pair with inline comment to end of section. Error if key already exists.
Delete key from section. Error if key doesn't exist.
Delete section by name and renumber remaining sections.
Get global section entries (before any [section] header).
Get value of specific key in section. Error if key doesn't exist.
Get all entries in section including metadata. Error if section doesn't exist.
Check if key exists in section. Returns true if found, false otherwise.
Insert section at position (1-indexed, 0=prepend) and renumber.
Get array of all key names in section. Error if section doesn't exist.
Renumber section orders in map to ensure sequential consistency.
Append new section at end of order and renumber.
Read an INI file and return a map of sections. Empty string key is global section.
Set global section entries.
Update existing key value. Preserves inline comments. Error if key doesn't exist.
Replace entire section with new entries array. Error if section doesn't exist.
Write an INI map to file. Preserves comments and formatting.