internal/vfs/file.go (10 lines of code) (raw):
package vfs
import "io"
// File represents an open file, which will typically be the response body of a Pages request.
type File interface {
io.Reader
io.Closer
}
// SeekableFile represents a seekable file, which will typically be the response body of a Pages request.
type SeekableFile interface {
File
io.Seeker
}