mirror of
https://github.com/golang/go
synced 2024-11-24 20:50:11 -07:00
os: error in documentation
R=r CC=golang-dev https://golang.org/cl/2225041
This commit is contained in:
parent
108f5c913c
commit
304d72be8c
@ -70,7 +70,7 @@ func (file *File) Stat() (fi *FileInfo, err Error) {
|
||||
|
||||
// Readdir reads the contents of the directory associated with file and
|
||||
// returns an array of up to count FileInfo structures, as would be returned
|
||||
// by Stat, in directory order. Subsequent calls on the same file will yield
|
||||
// by Lstat, in directory order. Subsequent calls on the same file will yield
|
||||
// further FileInfos.
|
||||
// A negative count means to read until EOF.
|
||||
// Readdir returns the array and an Error, if any.
|
||||
|
@ -110,7 +110,7 @@ func (file *File) Stat() (fi *FileInfo, err Error) {
|
||||
|
||||
// Readdir reads the contents of the directory associated with file and
|
||||
// returns an array of up to count FileInfo structures, as would be returned
|
||||
// by Stat, in directory order. Subsequent calls on the same file will yield
|
||||
// by Lstat, in directory order. Subsequent calls on the same file will yield
|
||||
// further FileInfos.
|
||||
// A negative count means to read until EOF.
|
||||
// Readdir returns the array and an Error, if any.
|
||||
|
Loading…
Reference in New Issue
Block a user