Welcome to mirror list, hosted at ThFree Co, Russian Federation.

file.go « vfs « internal - gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 47f68308239c8f5f20a08b49224298f04398631b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
}