Files
linuxkit/pkg/metadata/vendor/github.com/diskfs/go-diskfs/util/file.go
Avi Deitcher 3678adeca8 find cloud-init on cdrom by label
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2020-04-27 17:00:42 +03:00

14 lines
372 B
Go
Vendored

// Package util common utilities or other elements shared across github.com/diskfs/go-diskfs packages
package util
import "io"
// File interface that can be read from and written to.
// Normally implemented as actual os.File, but useful as a separate interface so can easily
// use alternate implementations.
type File interface {
io.ReaderAt
io.WriterAt
io.Seeker
}