2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-10 12:52:21 +00:00
restic/src/restic/fs/file.go

20 lines
288 B
Go
Raw Normal View History

package fs
import (
"io"
"os"
)
// File is an open file on a file system.
type File interface {
io.Reader
io.Writer
io.Closer
Fd() uintptr
Readdirnames(n int) ([]string, error)
Readdir(int) ([]os.FileInfo, error)
Seek(int64, int) (int64, error)
Stat() (os.FileInfo, error)
}