projects
/
platform
/
upstream
/
docker-engine.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Tizen_4.0 base
[platform/upstream/docker-engine.git]
/
pkg
/
tarsum
/
writercloser.go
1
package tarsum
2
3
import (
4
"io"
5
)
6
7
type writeCloseFlusher interface {
8
io.WriteCloser
9
Flush() error
10
}
11
12
type nopCloseFlusher struct {
13
io.Writer
14
}
15
16
func (n *nopCloseFlusher) Close() error {
17
return nil
18
}
19
20
func (n *nopCloseFlusher) Flush() error {
21
return nil
22
}