forked from gitea/gitea
1
0
Fork 0
gitea/vendor/github.com/lunny/nodb/store/snapshot.go

17 lines
224 B
Go

package store
import (
"github.com/lunny/nodb/store/driver"
)
type Snapshot struct {
driver.ISnapshot
}
func (s *Snapshot) NewIterator() *Iterator {
it := new(Iterator)
it.it = s.ISnapshot.NewIterator()
return it
}