mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
all: rename os.EOF to io.EOF in various non-code contexts
R=golang-dev, r CC=golang-dev https://golang.org/cl/5334050
This commit is contained in:
parent
de03d502c7
commit
eb1717e035
25 changed files with 39 additions and 39 deletions
|
|
@ -136,7 +136,7 @@ func Lstat(name string) (fi *FileInfo, err error) {
|
|||
//
|
||||
// If n > 0, Readdir returns at most n FileInfo structures. In this case, if
|
||||
// Readdir returns an empty slice, it will return a non-nil error
|
||||
// explaining why. At the end of a directory, the error is os.EOF.
|
||||
// explaining why. At the end of a directory, the error is io.EOF.
|
||||
//
|
||||
// If n <= 0, Readdir returns all the FileInfo from the directory in
|
||||
// a single slice. In this case, if Readdir succeeds (reads all
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue