diff options
author | Vika <vika@fireburn.ru> | 2024-08-28 15:01:57 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2024-08-28 15:04:17 +0300 |
commit | 4f1fe5404c954c85f3bc2379c7ae130b57ea5e73 (patch) | |
tree | 9b36f884ce23849ac9fd1ebd03d1e394d05b976c /kittybox-rs/src/frontend/mod.rs | |
parent | e03ff3151878851af954aa2e9a17e7578873bbae (diff) | |
download | kittybox-4f1fe5404c954c85f3bc2379c7ae130b57ea5e73.tar.zst |
Introduce `Storage::update_with`
This function takes a closure that modifies the post. This could be useful in maintenance utilities that scan and fixup posts. For now this isn't used anywhere within Kittybox, but once all backends implement this correctly, this could replace `Storage::update_post` calls. For supporting backends, `Storage::update_post` is implemented in terms of `Storage::update_with`.
Diffstat (limited to 'kittybox-rs/src/frontend/mod.rs')
0 files changed, 0 insertions, 0 deletions