File: snapshot.go

package info (click to toggle)
golang-github-lunny-nodb 0.0~git20160621.0.fc1ef06-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 424 kB
  • sloc: python: 259; sh: 50; makefile: 3
file content (16 lines) | stat: -rw-r--r-- 224 bytes parent folder | download | duplicates (2)
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
}