diff options
Diffstat (limited to 'vendor/github.com/fsouza/go-dockerclient/external/github.com/docker/docker/pkg/ioutils/temp_windows.go')
-rw-r--r-- | vendor/github.com/fsouza/go-dockerclient/external/github.com/docker/docker/pkg/ioutils/temp_windows.go | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/github.com/docker/docker/pkg/ioutils/temp_windows.go b/vendor/github.com/fsouza/go-dockerclient/external/github.com/docker/docker/pkg/ioutils/temp_windows.go deleted file mode 100644 index 72c0bc5..0000000 --- a/vendor/github.com/fsouza/go-dockerclient/external/github.com/docker/docker/pkg/ioutils/temp_windows.go +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | // +build windows | ||
2 | |||
3 | package ioutils | ||
4 | |||
5 | import ( | ||
6 | "io/ioutil" | ||
7 | |||
8 | "github.com/fsouza/go-dockerclient/external/github.com/docker/docker/pkg/longpath" | ||
9 | ) | ||
10 | |||
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) | ||
14 | if err != nil { | ||
15 | return "", err | ||
16 | } | ||
17 | return longpath.AddPrefix(tempDir), nil | ||
18 | } | ||