Commit bb4f6183 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent fd3f9214
......@@ -229,8 +229,6 @@ func (btail *ΔTail) Update(δZ *zodb.EventCommit) []ΔTree {
// entries in .δZtail into account.
// func (btail *ΔTail) update()
// XXX -> Get(root, key, at) -> (valueOid, rev) ?
// GetAt returns root[key] as of @at database state plus revision that changed it.
//
// if revExact=False - rev is upper estimate for the revision.
......@@ -274,18 +272,6 @@ func (btail *ΔTail) GetAt(root *Tree, key Key, at zodb.Tid) (value Value, ok bo
return
}
/*
func (btail *ΔTail) LastRevOf(root *Tree, key Key, at zodb.Tid) (_ zodb.Tid, exact bool) {
lastRevOf = btail.lastRevOf[root]
rev = lastRevOf[key]
while rev > at:
rev = scan btail.δBtail ↓ looking for change(key) # XXX linear scan
return rev
return 0, false // XXX stub (saying take only ZBlk.rev into account)
}
*/
func (btail *ΔTail) ForgetPast(revCut zodb.Tid) {
btail.ΔZtail.ForgetPast(revCut) // XXX stub
}
......
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