]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/lockedfile/internal/filelock: use errors.ErrUnsupported
authorTobias Klauser <tklauser@distanz.ch>
Thu, 16 Mar 2023 21:05:06 +0000 (22:05 +0100)
committerGopher Robot <gobot@golang.org>
Fri, 17 Mar 2023 02:24:35 +0000 (02:24 +0000)
commitf4315391d79948f465eaf57ba65dd4b769adbf40
treeacb2d3c64f9983dd66bcb17c4e6fa23a1c230a62
parent7a21f799a5ac23d3e191a106d71af9b8f65279fd
cmd/go/internal/lockedfile/internal/filelock: use errors.ErrUnsupported

All platform specific errors are now covered by errors.ErrUnsupported.

Updates #41198

Change-Id: Ia9c0cad7c493305835bd5a1f349446cec409f686
Reviewed-on: https://go-review.googlesource.com/c/go/+/476917
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
src/cmd/go/internal/lockedfile/internal/filelock/filelock.go
src/cmd/go/internal/lockedfile/internal/filelock/filelock_fcntl.go
src/cmd/go/internal/lockedfile/internal/filelock/filelock_other.go
src/cmd/go/internal/lockedfile/internal/filelock/filelock_unix.go
src/cmd/go/internal/lockedfile/internal/filelock/filelock_windows.go