summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/lunny/nodb/store/snapshot.go
blob: 75ba0497db3e63e45dbcbd630db616f48962fa63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
}