• Rob Pike's avatar
    os: delete os.EINVAL and so on · 56069f03
    Rob Pike authored
    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
    56069f03
Name
Last commit
Last update
..
ioutil Loading commit data...
io.go Loading commit data...
io_test.go Loading commit data...
multi.go Loading commit data...
multi_test.go Loading commit data...
pipe.go Loading commit data...
pipe_test.go Loading commit data...