mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
16 lines
263 B
Go
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
|
|
}
|