mirror of
https://gitee.com/gitea/gitea.git
synced 2024-12-15 18:10:50 +08:00
17 lines
224 B
Go
Vendored
17 lines
224 B
Go
Vendored
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
|
|
}
|