couch_config_writer

Saves a Key/Value pair to a ini file.

Saves a Key/Value pair to a ini file. The Key consists of a Section and Option combination. If that combination is found in the ini file the new value replaces the old value. If only the Section is found the Option and value combination is appended to the Section. If the Section does not yet exist in the ini file, it is added and the Option/Value pair is appended.

Functions


save_to_file(Config::{{Section::string(), Option::string()}, Value::string()}, File::filename()) -> ok

Saves a Section/Key/Value triple to the ini file File::filename()

See also

couch_config

View Functions