Module config_file

Procs

proc setValue(self: ConfigFile; section: string; key: string; value: Variant) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getValue(self: ConfigFile; section: string; key: string;
             default: Variant = newVariant()): Variant {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hasSection(self: ConfigFile; section: string): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hasSectionKey(self: ConfigFile; section: string; key: string): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getSections(self: ConfigFile): PoolStringArray {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getSectionKeys(self: ConfigFile; section: string): PoolStringArray {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc eraseSection(self: ConfigFile; section: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc load(self: ConfigFile; path: string): Error {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc save(self: ConfigFile; path: string): Error {.
gcsafe, locks: 0, raises: [], tags: []
.}