Commit cd8396c3 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 43c8fab1
...@@ -379,8 +379,10 @@ func (δBtail *ΔBtail) treediff(ctx context.Context, root zodb.Oid, δZT SetOid ...@@ -379,8 +379,10 @@ func (δBtail *ΔBtail) treediff(ctx context.Context, root zodb.Oid, δZT SetOid
return δT, nil return δT, nil
} }
// diffT computes difference in between two revisions of substree. // diffT computes difference in between two revisions of a tree's substree.
// δZTC is connected set of objects covering δZT (objects changed in this tree) //
// a, b point to top of the subtree @old and @new revisions.
// δZTC is connected set of objects covering δZT (objects changed in this tree in old..new).
func diffT(ctx context.Context, a, b *Tree, δZTC SetOid) (δ map[Key]Value, err error) { func diffT(ctx context.Context, a, b *Tree, δZTC SetOid) (δ map[Key]Value, err error) {
defer xerr.Contextf(&err, "diffT %s", a.POid()) defer xerr.Contextf(&err, "diffT %s", a.POid())
if a.POid() != b.POid() { if a.POid() != b.POid() {
......
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