Open eyad-hussein opened 1 week ago
26th of June
LoadFromFIle
27th of June
LoadFromFile
with tests and documentation with example28th of June
LoadFromString
with tests and documentation with example29th of June
GetSectionNames
: Returns a list of all section names.GetSections
: Serializes sections into a dictionary/map { section_name: {key1: val1, key2: val2, ...} }
.Get(section_name, key)
: Retrieves the value of key
in section_name
.Set(section_name, key, value)
: Sets key
in section_name
to value
.ToString
SaveToFile
30th of June
Create an INI parser
Expected API/methods on the parser
The parser should follow the structure and functionality of configparser.
LoadFromString
LoadFromFile
GetSectionNames
: Returns a list of all section names.GetSections
: Serializes sections into a dictionary/map{ section_name: {key1: val1, key2: val2, ...} }
.Get(section_name, key)
: Retrieves the value ofkey
insection_name
.Set(section_name, key, value)
: Setskey
insection_name
tovalue
.ToString
SaveToFile
Deliverables
username-inigo
repoRemarks
=
.