go/src/io/ioutil
Emmanuel T Odeke 2718789bc7 io/ioutil: support predictable prefix,suffix for TempDir with *
Allow TempDir to create directories with predictable
prefixes and suffixes, separated by the last "*", for example:
    "prefix*suffix"
will now expand to
    "prefix" + <RANDOM_VALUE> + "suffix"

RELNOTE=yes

Fixes #33805.

Change-Id: I85fa73ae6a684ce820d1810c82a60765eb9c4a42
Reviewed-on: https://go-review.googlesource.com/c/go/+/198488
Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2019-10-16 20:38:29 +00:00
..
testdata
example_test.go io/ioutil: support predictable prefix,suffix for TempDir with * 2019-10-16 20:38:29 +00:00
ioutil.go
ioutil_test.go
tempfile.go io/ioutil: support predictable prefix,suffix for TempDir with * 2019-10-16 20:38:29 +00:00
tempfile_test.go io/ioutil: support predictable prefix,suffix for TempDir with * 2019-10-16 20:38:29 +00:00