Skip to content

Commit

Permalink
doc: document that os.Stat follows all link reparse points on Windows
Browse files Browse the repository at this point in the history
For golang#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]>
  • Loading branch information
qmuntal authored and ezz-no committed Feb 17, 2024
1 parent af7d508 commit 5ed845c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/go1.22.html
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,10 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
<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 -->
Expand Down

0 comments on commit 5ed845c

Please sign in to comment.