Skip to content

Commit 46ea4ab

Browse files
committed
doc: document that os.Stat follows all link reparse points on Windows
For #61422. Change-Id: I2bb59a1ae38c40368343414a6077bb09c1675a6b Reviewed-on: https://go-review.googlesource.com/c/go/+/548315 Reviewed-by: Bryan Mills <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Cherry Mui <[email protected]> Reviewed-by: Alex Brainman <[email protected]>
1 parent ca80411 commit 46ea4ab

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/go1.22.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,10 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
635635
<dl id="os"><dt><a href="/pkg/os/">os</a></dt>
636636
<dd>
637637
<p><!-- CL 516555 -->
638-
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
638+
On Windows, the <a href="/pkg/os#Stat"><code>Stat</code></a> function now follows all reparse points
639+
that link to another named entity in the system.
640+
It was previously only following <code>IO_REPARSE_TAG_SYMLINK</code> and
641+
<code>IO_REPARSE_TAG_MOUNT_POINT</code> reparse points.
639642
</p>
640643

641644
<p><!-- https://go.dev/issue/58808 -->

0 commit comments

Comments
 (0)