github.com/ssdev-go/moby@v17.12.1-ce-rc2+incompatible/pkg/ioutils/temp_unix.go (about)

     1  // +build !windows
     2  
     3  package ioutils
     4  
     5  import "io/ioutil"
     6  
     7  // TempDir on Unix systems is equivalent to ioutil.TempDir.
     8  func TempDir(dir, prefix string) (string, error) {
     9  	return ioutil.TempDir(dir, prefix)
    10  }