mirror of
https://github.com/minio/minio.git
synced 2025-12-07 16:22:33 -05:00
Provide new pkgs/utils for generic functions
This commit is contained in:
7
pkgs/utils/helpers.go
Normal file
7
pkgs/utils/helpers.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package utils
|
||||
|
||||
import "io/ioutil"
|
||||
|
||||
func MakeTempTestDir() (string, error) {
|
||||
return ioutil.TempDir("/tmp", "minio-test-")
|
||||
}
|
||||
Reference in New Issue
Block a user