about summary refs log tree commit diff
path: root/src/index.html
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2021-09-26 01:35:00 +0300
committerVika <vika@fireburn.ru>2021-09-26 02:06:55 +0300
commit572435f7c8e1d613983309eca268c3f87ec5f00f (patch)
treee0c134c994379e037928f4e20e95f5fbc0bfc0da /src/index.html
parent13bcfb013c4a5ac5ea15c7ebe04f243431165c03 (diff)
downloadkittybox-572435f7c8e1d613983309eca268c3f87ec5f00f.tar.zst
Added file updates and fixed a bug with truncated JSON files
There was a bug where `File::write()` would not write the entire
buffer, and this condition was left unchecked by the code. All
`File::write()` calls are now replaced with `File::write_all()` which
ensures the whole buffer is written to the backing file.

Additionally added a smoke check for the file updates. It is in no way
comprehensive nor it is able to catch all the possible failures but
it's a good way of testing the functionality without way too much hassle.
Diffstat (limited to 'src/index.html')
0 files changed, 0 insertions, 0 deletions