1
0
mirror of https://github.com/golang/go synced 2024-10-04 16:21:22 -06:00
go/src/pkg/io
Rob Pike 56069f0333 os: delete os.EINVAL and so on
The set of errors forwarded by the os package varied with system and
was therefore non-portable.
Three helpers added for portable error checking: IsExist, IsNotExist, and IsPermission.
One or two more may need to come, but let's keep the set very small to discourage
thinking about errors that way.

R=mikioh.mikioh, gustavo, r, rsc
CC=golang-dev
https://golang.org/cl/5672047
2012-02-17 10:04:29 +11:00
..
ioutil os: delete os.EINVAL and so on 2012-02-17 10:04:29 +11:00
io_test.go io: use error, add EOF, avoid os 2011-11-01 21:48:52 -04:00
io.go io: API tweaks 2012-02-06 15:09:50 +11:00
multi_test.go Add a []byte argument to hash.Hash to allow an allocation to be saved. 2011-12-01 12:35:37 -05:00
multi.go io: use error, add EOF, avoid os 2011-11-01 21:48:52 -04:00
pipe_test.go various: a grab-bag of time.Duration cleanups. 2011-12-13 10:42:56 +11:00
pipe.go io: API tweaks 2012-02-06 15:09:50 +11:00