holiman / billy

Very simple datastore
BSD 3-Clause "New" or "Revised" License
55 stars 8 forks source link

Version header in shelf file #6

Closed holiman closed 1 year ago

holiman commented 1 year ago

The shelf-files should have a magic,e.g. billy-<version byte>, in case we want to modify e.g the item headers. Right now, the shelf-size is part of the filename, but it might be cleaner to (also) put the shelf-size into the metadata, so it becomes

billy <version byte> <shelf-size 4 bytes>