From f7777688ca19584ed7c278431560f6a545822370 Mon Sep 17 00:00:00 2001 From: qmuntal Date: Sun, 18 Feb 2024 20:18:08 +0100 Subject: [PATCH] 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 --- doc/next/6-stdlib/99-minor/os/33357.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 doc/next/6-stdlib/99-minor/os/33357.md 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`. -- 2.50.0