Add a function to append section #11
Labels
enhancement
New feature or request
good first issue
Good for newcomers
hacktoberfest
help wanted
Extra attention is needed
Milestone
Similar to configparser in Python, we should have an option to append sections using a direct hashmap and string.
append(Some(sectionname), HashMap to append)
- IfNone
, we append the section as-is (validate that it's a two-level hashmap), ifSome(...)
, we create a hashmap with that section and add the entire section (need an error-check to ensure it's a flat hashmap).append_str(...)
- Same behaviour as above, we run the underlying stuff throughparse()
and add some error checks.The text was updated successfully, but these errors were encountered: