diff --git a/doc/go1.20.html b/doc/go1.20.html index 9a90cb8a80..d8e6a81744 100644 --- a/doc/go1.20.html +++ b/doc/go1.20.html @@ -770,6 +770,19 @@ proxyHandler := &httputil.ReverseProxy{
TODO: https://go.dev/cl/448897: os: remove special casing of NUL in Windows file operations
+
+ On Windows, File.Stat
+ now uses the file handle to retrieve attributes when the file is a directory.
+ Previously it would use the path passed to
+ Open, which may no longer be the file
+ represented by the file handle if the file has been moved or replaced.
+ This change modifies Open to open directories without the
+ FILE_SHARE_DELETE access, which match the behavior of regular files.
+
+ On Windows, File.Seek now supports
+ seeking to the beginning of a directory.
+