inilike

Reading and writing ini-like files used in some Unix systems and Freedesktop specifications.

ini-like is informal name for the file format that look like this:

# Comment
[Group name]
Key=Value
# Comment inside group
AnotherKey=Value

[Another group]
Key=English value
Key[fr_FR]=Francais value

To work with ini-like files correctly it's essential to understand the difference between escaped values and unescaped ones. Escaping is needed to represent new line characters in values.

NewLine=\n
Slash=\\
CarriageReturn=\r

In inilike.file.IniLikeGroup internally all values are stored in the escaped form (the same way as they are stored in the file).

Modules

common
module inilike.common

Common functions for dealing with entries in ini-like file.

exception
module inilike.exception

Exception classes used in the library.

file
module inilike.file

Class representation of ini-like file.

range
module inilike.range

Parsing contents of ini-like files via range-based interface.

read
module inilike.read

Reading ini-like files without usage of inilike.file.IniLikeFile class.

Public Imports

inilike.common
public import inilike.common;
Undocumented in source.
inilike.range
public import inilike.range;
Undocumented in source.
inilike.file
public import inilike.file;
Undocumented in source.

See Also

Meta