Sign in
fuchsia
/
third_party
/
github.com
/
docker
/
docker
/
refs/tags/v18.01.0-ce
/
.
/
pkg
/
tarsum
/
writercloser.go
blob: 9727ecde3eba955993ba6e2d9b89aa217ca38166 [
file
] [
log
] [
blame
]
package tarsum
import (
"io"
)
type writeCloseFlusher interface {
io.WriteCloser
Flush() error
}
type nopCloseFlusher struct {
io.Writer
}
func (n *nopCloseFlusher) Close() error {
return nil
}
func (n *nopCloseFlusher) Flush() error {
return nil
}