1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:07:47 +00:00

LibSQL: Implement freeing heap storage

This allows us to free entire chains of blocks in one go.
This commit is contained in:
Jelle Raaijmakers 2023-05-24 15:48:53 +02:00 committed by Tim Flynn
parent d7bbb8d64a
commit c58c87d7ef
3 changed files with 40 additions and 5 deletions

View file

@ -116,6 +116,7 @@ public:
ErrorOr<ByteBuffer> read_storage(Block::Index);
ErrorOr<void> write_storage(Block::Index, ReadonlyBytes);
ErrorOr<void> free_storage(Block::Index);
ErrorOr<void> flush();