Skip to content

Commit

Permalink
doc: document os.ModeSocket support on Windows
Browse files Browse the repository at this point in the history
Updates #33357.

Change-Id: I66866475447e03f604202f34ddfbafdc0512cb72
Reviewed-on: https://go-review.googlesource.com/c/go/+/565135
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
  • Loading branch information
qmuntal committed Feb 27, 2024
1 parent 320f1be commit f777768
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/next/6-stdlib/99-minor/os/33357.md
Original file line number Diff line number Diff line change
@@ -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`.

0 comments on commit f777768

Please sign in to comment.