pkg/chrootarchive/archive_unix_nolinux.go
Function doUnpackLayer
has 6 return statements (exceeds 4 allowed). Open
Open
func doUnpackLayer(root string, layer io.Reader, options *archive.TarOptions) (int64, error) {
var result int64
optionsR, optionsW, err := os.Pipe()
if err != nil {
return 0, err
Function doUnpack
has 5 return statements (exceeds 4 allowed). Open
Open
func doUnpack(decompressedArchive io.Reader, relDest, root string, options *archive.TarOptions) error {
optionsR, optionsW, err := os.Pipe()
if err != nil {
return err
}
Function doPack
has 5 return statements (exceeds 4 allowed). Open
Open
func doPack(relSrc, root string, options *archive.TarOptions) (io.ReadCloser, error) {
optionsR, optionsW, err := os.Pipe()
if err != nil {
return nil, err
}