seaweedfs/weed/util/bptree/getter_setter.go
2021-08-20 18:37:34 -07:00

16 lines
263 B
Go

package bptree
func (self *BpMap) getRoot() *BpNode {
return self.root
}
func (self *BpMap) setRoot(root *BpNode) {
self.root = root
}
func (self *BpTree) getRoot() *BpNode {
return self.root
}
func (self *BpTree) setRoot(root *BpNode) {
self.root = root
}