Commit c9c57dcf authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent bca4cc7d
...@@ -245,13 +245,13 @@ func (δBtail *ΔBtail) Update(δZ *zodb.EventCommit) ΔB { ...@@ -245,13 +245,13 @@ func (δBtail *ΔBtail) Update(δZ *zodb.EventCommit) ΔB {
δB := ΔB{Rev: δZ.Tid, ByRoot: make(map[zodb.Oid]map[Key]Value)} δB := ΔB{Rev: δZ.Tid, ByRoot: make(map[zodb.Oid]map[Key]Value)}
for root := range δZByRoot { for root := range δZByRoot {
δt, ok := δB.ByRoot[root] δT, ok := δB.ByRoot[root]
if !ok { if !ok {
δt = make(map[Key]Value) δT = map[Key]Value{}
δB.ByRoot[root] = δt δB.ByRoot[root] = δT
} }
// XXX stub to get file.size invalidation working // XXX stub to get file.size invalidation working
// TODO update δt // TODO update δT
} }
return δB return δB
......
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