Commit db8aa679 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 51359ef1
......@@ -520,8 +520,8 @@ func diffT(ctx context.Context, a, b *Tree, δZTC SetOid, trackIdx map[zodb.Oid]
defer b.PDeactivate()
bv = b.Entryv() // key↑
}
fmt.Printf(" av: %s\n", strVTreeEntry(av))
fmt.Printf(" bv: %v\n", strVTreeEntry(bv))
fmt.Printf(" av: %s\n", vtree(av))
fmt.Printf(" bv: %v\n", vtree(bv))
δ = map[Key]ΔValue{}
......@@ -999,7 +999,8 @@ func δassertSlice(δ interface { Head() zodb.Tid; Tail() zodb.Tid }, lo, hi zod
}
func strVTreeEntry(v []TreeEntry) string {
// vtree returns human-readable representation of Tree data.
func vtree(v []TreeEntry) string {
s := ""
for _, e := range v {
if s != "" {
......
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