mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-02 19:01:49 +02:00
``` * use go 1.17 semantics in go.mod * pin tonistiigi/fsutil dep to match docker/docker's dep go get -u ./... go mod vendor ```
17 lines
256 B
Go
17 lines
256 B
Go
package io
|
|
|
|
import (
|
|
"io"
|
|
)
|
|
|
|
// ReadSeekNopCloser wraps an io.ReadSeeker with an additional Close method
|
|
// that does nothing.
|
|
type ReadSeekNopCloser struct {
|
|
io.ReadSeeker
|
|
}
|
|
|
|
// Close does nothing.
|
|
func (ReadSeekNopCloser) Close() error {
|
|
return nil
|
|
}
|