mirror of
https://gitea.com/Lydanne/buildx.git
synced 2026-01-02 03:59:06 +08:00
12 lines
264 B
Go
12 lines
264 B
Go
//go:build !windows
|
|
// +build !windows
|
|
|
|
package ioutils // import "github.com/docker/docker/pkg/ioutils"
|
|
|
|
import "os"
|
|
|
|
// TempDir on Unix systems is equivalent to os.MkdirTemp.
|
|
func TempDir(dir, prefix string) (string, error) {
|
|
return os.MkdirTemp(dir, prefix)
|
|
}
|