aboutsummaryrefslogtreecommitdiff
path: root/file.go
blob: 9395d896916c112f1b81a995b39651d528ee9eb8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
package bolt

import (
	"os"
)

type file interface {
	Fd() uintptr
	ReadAt(b []byte, off int64) (n int, err error)
	Stat() (fi os.FileInfo, err error)
	WriteAt(b []byte, off int64) (n int, err error)
}