1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-07-08 18:16:50 +02:00

Add comments

This commit is contained in:
chrislusf 2015-05-23 10:13:26 -07:00
parent dc2c1aedcc
commit 85bfab612c

View file

@ -169,6 +169,7 @@ func (cm *CompactMap) binarySearchCompactSection(key Key) int {
return -3
}
// Visit visits all entries or stop if any error when visiting
func (cm *CompactMap) Visit(visit func(NeedleValue) error) error {
for _, cs := range cm.list {
for _, v := range cs.overflow {