Open xmonader opened 2 years ago
Create an INI parser
Can get inspired by configparser
LoadFromString
LoadFromFile
GetSectionNames
GetSections
{ section_name: {key1: val1, key2, val2} ...}
Get(section_name, key)
key
section_name
Set(section_name, key, value)
value
ToString
SaveToFile
=
Finished all functions and GitHub actions. Adding more tests and documentation
Create an INI parser
expected API
Can get inspired by configparser
LoadFromString
LoadFromFile
GetSectionNames
list of all section namesGetSections
serialize convert into a dictionary/map{ section_name: {key1: val1, key2, val2} ...}
Get(section_name, key)
gets the value of keykey
in sectionsection_name
Set(section_name, key, value)
sets akey
in sectionsection_name
to valuevalue
ToString
SaveToFile
deliverables
remarks
=