diff options
| author | qmuntal <quimmuntal@gmail.com> | 2025-08-27 11:18:47 +0200 |
|---|---|---|
| committer | Quim Muntal <quimmuntal@gmail.com> | 2025-08-29 07:25:08 -0700 |
| commit | 252c9011255872e21284480754400f9be7d48bf9 (patch) | |
| tree | f458ffe782b06724ff5fccc5e0af771331c3780b /src/testing | |
| parent | 53515fb0a9e267d6040c1d8785fe51b1367e8d4d (diff) | |
| download | go-252c9011255872e21284480754400f9be7d48bf9.tar.xz | |
os,syscall: pass file flags to CreateFile on Windows
Add support for FILE_FLAG_* constants in the flag argument of
os.OpenFile and syscall.Open on Windows.
Passing invalid flags will result in an error.
Updates #73676
Change-Id: Ie215a3dd14f0d74141533f0a07865a02a67a3846
Reviewed-on: https://go-review.googlesource.com/c/go/+/699415
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/testing')
0 files changed, 0 insertions, 0 deletions
