Documentation
¶
Overview ¶
Package ini provides an INI format handler for chezmoi-split.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct{}
Handler implements format.Handler for INI files.
func (*Handler) GetPath ¶
GetPath extracts a value at the given path, supporting wildcards. INI paths are limited to ["section", "key"] format (max 2 segments). Wildcard "*" can be used for section to match any section.
func (*Handler) Parse ¶
Parse reads INI bytes and returns an *orderedmap.OrderedMap. Structure: {"section": {"key": "value"}} Global keys (before any section) are stored under the empty string key "".
Click to show internal directories.
Click to hide internal directories.