DescriptionThe io/ioutil package has a function for creating temporary files
(http://golang.org/pkg/io/ioutil/#TempFile) but no equivalent for
directories.
I was thinking of adding a MkTempDir() function to io/ioutil and
renaming ioutil.TempFile to ioutil.MkTempFile for consistency.
Naming the new ioutil function "MkTempDir" as opposed to "TempDir" is
more expressive IMHO and avoids confusion with os.TempDir
(http://golang.org/pkg/os/#TempDir).
Patch Set 1 #
|
||||||||||||||||||||||||||||||||||||||||||||||