Dan Caddigan
|
212d2f82e0
|
os: add ErrClosed, return for use of closed File
This is clearer than syscall.EBADF.
Fixes #17320.
Change-Id: I14c6a362f9a6044c9b07cd7965499f4a83d2a860
Reviewed-on: https://go-review.googlesource.com/30614
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
|
2016-10-24 16:41:29 +00:00 |
|
Brad Fitzpatrick
|
7c15b2ab4b
|
os: make IsExists also recognize syscall.ENOTEMPTY
And adds missing tests.
Fixes #14970
Change-Id: I0dba02603bc245f555498cb5dd3e0a9d87c52353
Reviewed-on: https://go-review.googlesource.com/21467
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
|
2016-04-03 06:22:07 +00:00 |
|
Brad Fitzpatrick
|
735c65fa9c
|
os: make IsPermission, IsExist, and IsNotExist unwrap SyscallError too
Fixes #12674
Change-Id: I82f53026dd2fc27bd7999d43c27932d683d92af6
Reviewed-on: https://go-review.googlesource.com/15730
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
|
2015-10-10 21:20:14 +00:00 |
|
Russ Cox
|
c007ce824d
|
build: move package sources from src/pkg to src
Preparation was in CL 134570043.
This CL contains only the effect of 'hg mv src/pkg/* src'.
For more about the move, see golang.org/s/go14nopkg.
|
2014-09-08 00:08:51 -04:00 |
|