github.com/cdoern/storage@v1.12.13/pkg/archive/archive_nocgo.go (about)

     1  // +build !cgo
     2  
     3  package archive
     4  
     5  import (
     6  	"fmt"
     7  	"io"
     8  )
     9  
    10  func zstdReader(buf io.Reader) (io.ReadCloser, error) {
    11  	return nil, fmt.Errorf("zstd not supported on this platform")
    12  }
    13  
    14  func zstdWriter(dest io.Writer) (io.WriteCloser, error) {
    15  	return nil, fmt.Errorf("zstd not supported on this platform")
    16  }