Age | Commit message (Collapse) | Author |
|
`create_key_value_file()`
These functions will help in making the creation of key-value files more
generic.
There still needs to be some more work done on it, but that can be done
later.
|
|
This will be used for creating a getter callback for keywords.
I also renamed `keyword_cb` to `set_keyword_cb`, aswell as renamed
`callback` to `set_callback` in `struct keyword`.
|
|
`parse_key_value_file()`
This is a much better way of doing it than what was done previously.
|
|
keyword: Remove trailing whitespace from the right hand side in
`parse_key_value_file()`
I didn't realize this would create a parsing bug.
|
|
`parse_key_value_file()`
|
|
This was a mistake that I didn't even notice until now, lol.
|
|
|
|
This needs to be done in order to properly correct for DST.
|
|
|
|
|
|
`set_keyword()` now checks the return value of the callback to determine
whether to return early, fallback to the default, or return an error
if the callback returns true, false, and -1 respectivly.
|
|
This will allow for easy parsing of stuff like the PR `info`, PR
`comments`, and config files.
|