mirror of
https://github.com/rancher/plugins.git
synced 2025-09-05 14:44:23 +00:00
Windows: Updates Windows Vendoring
Updates windows dependent libraries for vendoing.
This commit is contained in:
15
vendor/github.com/Microsoft/hcsshim/test/functional/utilities/tempdir.go
generated
vendored
Normal file
15
vendor/github.com/Microsoft/hcsshim/test/functional/utilities/tempdir.go
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
package testutilities
|
||||
|
||||
import (
|
||||
"io/ioutil"
|
||||
"testing"
|
||||
)
|
||||
|
||||
// CreateTempDir creates a temporary directory
|
||||
func CreateTempDir(t *testing.T) string {
|
||||
tempDir, err := ioutil.TempDir("", "test")
|
||||
if err != nil {
|
||||
t.Fatalf("failed to create temporary directory: %s", err)
|
||||
}
|
||||
return tempDir
|
||||
}
|
Reference in New Issue
Block a user