]> Cypherpunks.ru repositories - gostls13.git/commit
io/fs: clarify additional File interface docs
authorJosh Bleecher Snyder <josharian@gmail.com>
Thu, 25 Feb 2021 17:32:38 +0000 (09:32 -0800)
committerJosh Bleecher Snyder <josharian@gmail.com>
Thu, 11 Mar 2021 18:25:30 +0000 (18:25 +0000)
commitbbf79793bdeda04d520377406024d7bb66aa62dc
tree63b028a95c29f1cf7857a63163aafcd073e3cbb1
parent0a655598e150ee8ddd96573744c4b60735658f32
io/fs: clarify additional File interface docs

Emphasize ReadDirFile. It isn't really optional,
and all filesystems have at least one directory (".").

The remaining two additional interfaces are optimizations.
Call them that.

Fully qualify package package io identifiers.

Change-Id: Ibc425a5dfd27e08c2c10c353f780e4a6304cfd87
Reviewed-on: https://go-review.googlesource.com/c/go/+/296390
Trust: Josh Bleecher Snyder <josharian@gmail.com>
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/io/fs/fs.go