8 "github.com/fsouza/go-dockerclient/external/github.com/docker/docker/pkg/longpath"
11 // TempDir is the equivalent of ioutil.TempDir, except that the result is in Windows longpath format.
12 func TempDir(dir, prefix string) (string, error) {
13 tempDir, err := ioutil.TempDir(dir, prefix)
17 return longpath.AddPrefix(tempDir), nil