go/zodb/fs1: Index save/load
Build index type on top of fsb.Tree introduced in the previous patch and add routines to save and load it to/from disk. We ensure ZODB/py compatibility via generating test FileStorage database + its index and checking we can load index from it and also that if we save an index ZODB/py can load it back. FileStorage index is hard to get bit-to-bit identical since this index uses python pickles which can encode the same objects in several different ways.
Showing
go/zodb/storage/fs1/index.go
0 → 100644
File added
File added
Please register or sign in to comment