This commit is contained in:
Chris Lu
2021-09-18 14:04:30 -07:00
parent b751debd31
commit 8f2e4be074
7 changed files with 366 additions and 2 deletions

10
weed/util/bptree/serde.go Normal file
View File

@@ -0,0 +1,10 @@
package bptree
func (protoNode *ProtoNode) ToBpTree() *BpTree {
node := protoNode.ToBpNode()
return &BpTree{root: node}
}
func (protoNode *ProtoNode) ToBpNode() *BpNode {
return nil
}