Commit 1c21d16e authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent d4848186
......@@ -45,6 +45,8 @@ const debugPPSet = false
// returns path to tree node given node oid.
//
// Every node in the set comes with .parent pointer.
//
// XXX we only allow single parent/root case and report "tree corrupt" otherwise.
type PPTreeSubSet map[zodb.Oid]*nodeInTree
// nodeInTree represents tracking information about a node.
......@@ -352,8 +354,8 @@ func (orig PPTreeSubSet) Clone() PPTreeSubSet {
return klon
}
// equal returns whether a == b.
func (A PPTreeSubSet) equal(B PPTreeSubSet) bool {
// Equal returns whether a == b.
func (A PPTreeSubSet) Equal(B PPTreeSubSet) bool {
if len(A) != len(B) {
return false
}
......
This diff is collapsed.
This diff is collapsed.
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