aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2021-11-10 01:02:04 +0100
committerDaniel Schadt <kingdread@gmx.de>2021-11-10 01:02:04 +0100
commit1e55d46966f8d2908a7809b306d0a87d88e1bc2d (patch)
treead551512dd36824157b83951785195a73e735f2f /src
parent1535ad6e39fcdc38f6476a7d3fe29053231e08eb (diff)
downloadmodderbaas-1e55d46966f8d2908a7809b306d0a87d88e1bc2d.tar.gz
modderbaas-1e55d46966f8d2908a7809b306d0a87d88e1bc2d.tar.bz2
modderbaas-1e55d46966f8d2908a7809b306d0a87d88e1bc2d.zip
implement support for multiline descriptions
Key-Value-Stores are not always as easy as every line containing a key-value pair, there is also the variant that a value spans multiple lines and is enclosed in """ (e.g. the description of some mods). This also changes the API slightly, as we want to separate the parsing code from the code that reads the file. This makes it easier to do testing or to re-use the code for data that is already in-memory. Therefore, kvstore::write now takes a writer and kvstore::save provides the functionality that the old kvstore::write had.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions