MCPcopy Create free account
hub / github.com/linuxkit/linuxkit / fixedWriteCloser

Function fixedWriteCloser

src/cmd/linuxkit/pkglib/dockerimpl.go:797–801  ·  view source on GitHub ↗
(wc io.WriteCloser)

Source from the content-addressed store, hash-verified

795}
796
797func fixedWriteCloser(wc io.WriteCloser) func(map[string]string) (io.WriteCloser, error) {
798 return func(map[string]string) (io.WriteCloser, error) {
799 return wc, nil
800 }
801}
802
803type writeNopCloser struct {
804 writer io.Writer

Callers 1

BuildMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected