Commit 5cb986db authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 4b18c448
......@@ -676,6 +676,13 @@ type ΔFTail struct {
fileIdx map[*btree.LOBTree]SetBigFile // root -> {} BigFile XXX root -> oid?
}
func NewΔFTail(at0 zodb.Tid) *ΔFTail {
return &ΔFTail{
ΔTail: xbtree.NewΔTail(at0),
fileIdx: make(map[*btree.LOBTree]SetBigFile),
}
}
func (δf *ΔFTail) Track(file *BigFile, path []btree.LONode) {
δf.ΔTail.Track(path)
root := path[0].(*btree.LOBTree)
......
......@@ -1880,7 +1880,7 @@ func main() {
fsNode: newFSNode(fSticky),
head: head,
fileTab: make(map[zodb.Oid]*BigFile),
δFtail: NewΔFtail(zhead.At()),
δFtail: NewΔFTail(zhead.At()),
}
head.bfdir = bfdir
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment