From: qmuntal Date: Sun, 18 Feb 2024 19:18:08 +0000 (+0100) Subject: doc: document os.ModeSocket support on Windows X-Git-Tag: go1.23rc1~1104 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f7777688ca19584ed7c278431560f6a545822370;p=gostls13.git doc: document os.ModeSocket support on Windows Updates #33357. Change-Id: I66866475447e03f604202f34ddfbafdc0512cb72 Reviewed-on: https://go-review.googlesource.com/c/go/+/565135 Reviewed-by: Carlos Amedee Reviewed-by: Bryan Mills LUCI-TryBot-Result: Go LUCI Reviewed-by: Alex Brainman --- diff --git a/doc/next/6-stdlib/99-minor/os/33357.md b/doc/next/6-stdlib/99-minor/os/33357.md new file mode 100644 index 0000000000..3e80943263 --- /dev/null +++ b/doc/next/6-stdlib/99-minor/os/33357.md @@ -0,0 +1,3 @@ +The [`os.Stat`](/os#Stat) function now sets the [`os.ModeSocket`](/os#ModeSocket) +bit for files that are Unix sockets on Windows. These files are identified by +having a reparse tag set to `IO_REPARSE_TAG_AF_UNIX`.