Golint: improve unixfs/dagreader.go comments

Per @whys suggestions

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
This commit is contained in:
Hector Sanjuan 2018-02-07 10:06:59 +01:00
parent 576872076c
commit 3ec869fee7

View File

@ -20,8 +20,8 @@ var (
ErrCantReadSymlinks = errors.New("cannot currently read symlinks")
)
// A DagReader represents a ReadSeekCloser which offers additional methods
// like Size. Different implementations of readers are used for the different
// // A DagReader provides read-only read and seek acess to a unixfs file.
// Different implementations of readers are used for the different
// types of unixfs/protobuf-encoded nodes.
type DagReader interface {
ReadSeekCloser
@ -30,7 +30,7 @@ type DagReader interface {
Offset() int64
}
// A ReadSeekCloser implements interfaces to read, write, seek and close.
// A ReadSeekCloser implements interfaces to read, copy, seek and close.
type ReadSeekCloser interface {
io.Reader
io.Seeker