mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-27 09:11:53 -05:00
16 lines
224 B
Go
Vendored
16 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
|
|
}
|