• Kirill Smelkov's avatar
    go/zodb/fs1: Index save/load · 8fa9fdaf
    Kirill Smelkov authored
    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.
    8fa9fdaf
ztestdata_expect_test.go 369 Bytes