Page MenuHomeSoftware Heritage

Rewrite the Vault Cookers I/O pipeline with file objects
Closed, MigratedEdits Locked

Description

Currently the Vault I/O is pretty clunky. Yielding chunks of bytes isn't easy to manipulate, and it's hard to centralize handling of out of bounds etc. Instead of yielding, we should have a write() method in the basecooker and the other cookers should just call that. This will allow us to plug that in the objstorage streaming once T805 is done.