mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
all: rename os.Error to error in various non-code contexts
R=adg CC=golang-dev https://golang.org/cl/5328062
This commit is contained in:
parent
abd3260990
commit
492098eb75
34 changed files with 91 additions and 105 deletions
|
|
@ -141,7 +141,7 @@ func Lstat(name string) (fi *FileInfo, err error) {
|
|||
// If n <= 0, Readdir returns all the FileInfo from the directory in
|
||||
// a single slice. In this case, if Readdir succeeds (reads all
|
||||
// the way to the end of the directory), it returns the slice and a
|
||||
// nil os.Error. If it encounters an error before the end of the
|
||||
// nil error. If it encounters an error before the end of the
|
||||
// directory, Readdir returns the FileInfo read until that point
|
||||
// and a non-nil error.
|
||||
func (file *File) Readdir(n int) (fi []FileInfo, err error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue