From: Emmanuel T Odeke Date: Wed, 5 Feb 2020 19:36:00 +0000 (-0800) Subject: doc/go1.14: document io/ioutil.TempDir's predictable prefix+suffix X-Git-Tag: go1.14~10^2~4 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e5b9c10689;p=gostls13.git doc/go1.14: document io/ioutil.TempDir's predictable prefix+suffix Documents io/ioutil.TempDir's new ability to create predictable prefixes and suffixes, derived from the argument 'pattern', separated by the last '*' in it. References: CL 198488 Updates #36878 Change-Id: I92c52fcc7d480ce74746e99e6e85a04efb87294f Reviewed-on: https://go-review.googlesource.com/c/go/+/217780 Reviewed-by: Ian Lance Taylor --- diff --git a/doc/go1.14.html b/doc/go1.14.html index c863da42fa..35f9955d2a 100644 --- a/doc/go1.14.html +++ b/doc/go1.14.html @@ -569,6 +569,16 @@ appropriately.) +
io/ioutil
+
+

+ TempDir can now create directories + whose names have predictable prefixes and suffixes. As with TempFile, if the pattern + contains a '*', the random string replaces the last '*'. +

+
+
+
log