cuelang.org/go@v0.10.1/internal/golangorgx/tools/robustio/gopls_windows.go (about)

     1  // Copyright 2022 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package robustio
     6  
     7  import "syscall"
     8  
     9  // The robustio package is copied from cmd/go/internal/robustio, a package used
    10  // by the go command to retry known flaky operations on certain operating systems.
    11  
    12  // Since the gopls module cannot access internal/syscall/windows, copy a
    13  // necessary constant.
    14  const ERROR_SHARING_VIOLATION syscall.Errno = 32