diff options
Diffstat (limited to 'libgo/go/io/fs/fs.go')
-rw-r--r-- | libgo/go/io/fs/fs.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/io/fs/fs.go b/libgo/go/io/fs/fs.go index 3d2e2ee..e1be324 100644 --- a/libgo/go/io/fs/fs.go +++ b/libgo/go/io/fs/fs.go @@ -73,8 +73,8 @@ func ValidPath(name string) bool { // A File provides access to a single file. // The File interface is the minimum implementation required of the file. -// A file may implement additional interfaces, such as -// ReadDirFile, ReaderAt, or Seeker, to provide additional or optimized functionality. +// Directory files should also implement ReadDirFile. +// A file may implement io.ReaderAt or io.Seeker as optimizations. type File interface { Stat() (FileInfo, error) Read([]byte) (int, error) |