From 5ed845c5439118be6d45387ebf50e618aa170eb6 Mon Sep 17 00:00:00 2001 From: qmuntal Date: Thu, 7 Dec 2023 21:45:57 +0100 Subject: [PATCH] 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 LUCI-TryBot-Result: Go LUCI Reviewed-by: Cherry Mui Reviewed-by: Alex Brainman --- doc/go1.22.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/go1.22.html b/doc/go1.22.html index bf39db39e5528b..b363aaf14bf980 100644 --- a/doc/go1.22.html +++ b/doc/go1.22.html @@ -635,7 +635,10 @@

Minor changes to the library

os

- TODO: https://go.dev/cl/516555: os: follow all name surrogate reparse points in Stat on Windows + On Windows, the Stat function now follows all reparse points + that link to another named entity in the system. + It was previously only following IO_REPARSE_TAG_SYMLINK and + IO_REPARSE_TAG_MOUNT_POINT reparse points.