]> Cypherpunks.ru repositories - gostls13.git/commitdiff
doc: document that os.Stat follows all link reparse points on Windows
authorqmuntal <quimmuntal@gmail.com>
Thu, 7 Dec 2023 20:45:57 +0000 (21:45 +0100)
committerQuim Muntal <quimmuntal@gmail.com>
Sat, 9 Dec 2023 21:48:06 +0000 (21:48 +0000)
For #61422.

Change-Id: I2bb59a1ae38c40368343414a6077bb09c1675a6b
Reviewed-on: https://go-review.googlesource.com/c/go/+/548315
Reviewed-by: Bryan Mills <bcmills@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
doc/go1.22.html

index bf39db39e5528b5c8190d8a6e55cf7054048eb5c..b363aaf14bf980a25756982a00dd77d8fff64649 100644 (file)
@@ -635,7 +635,10 @@ defer func() {
 <dl id="os"><dt><a href="/pkg/os/">os</a></dt>
   <dd>
     <p><!-- CL 516555 -->
-      TODO: <a href="https://go.dev/cl/516555">https://go.dev/cl/516555</a>: os: follow all name surrogate reparse points in Stat on Windows
+      On Windows, the <a href="/pkg/os#Stat"><code>Stat</code></a> function now follows all reparse points
+      that link to another named entity in the system.
+      It was previously only following <code>IO_REPARSE_TAG_SYMLINK</code> and
+      <code>IO_REPARSE_TAG_MOUNT_POINT</code> reparse points.
     </p>
 
     <p><!-- https://go.dev/issue/58808 -->