]> Cypherpunks repositories - gostls13.git/commit
io/ioutil: add TempDir
authorRuss Cox <rsc@golang.org>
Thu, 3 Mar 2011 19:51:49 +0000 (14:51 -0500)
committerRuss Cox <rsc@golang.org>
Thu, 3 Mar 2011 19:51:49 +0000 (14:51 -0500)
commit9ebe384b71c8abffd64c50aa619fc4e4b9163261
treeea79acac458f100db4dd8ad2cf5a536e624a5871
parentda833474f57150a98d73c10df214a6364d475c5c
io/ioutil: add TempDir

It's a little confusing that os.TempDir and ioutil.TempDir have
different meanings.  I don't know what to change the names to,
if anything.  At least they also have different signatures.

R=golang-dev, bradfitzgo, r, gri
CC=golang-dev
https://golang.org/cl/4247051
src/pkg/io/ioutil/tempfile.go
src/pkg/io/ioutil/tempfile_test.go