1
0
mirror of https://github.com/golang/go synced 2024-11-12 00:20:22 -07:00

os: error in documentation

R=r
CC=golang-dev
https://golang.org/cl/2225041
This commit is contained in:
Robert Griesemer 2010-09-15 15:38:16 -07:00
parent 108f5c913c
commit 304d72be8c
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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.