From 3ec869fee77bd52a84746cd9de487c625f92a532 Mon Sep 17 00:00:00 2001 From: Hector Sanjuan Date: Wed, 7 Feb 2018 10:06:59 +0100 Subject: [PATCH] Golint: improve unixfs/dagreader.go comments Per @whys suggestions License: MIT Signed-off-by: Hector Sanjuan --- unixfs/io/dagreader.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/unixfs/io/dagreader.go b/unixfs/io/dagreader.go index ec3b3e028..53e990297 100644 --- a/unixfs/io/dagreader.go +++ b/unixfs/io/dagreader.go @@ -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