mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-22 19:07:48 +08:00
Golint: improve unixfs/dagreader.go comments
Per @whys suggestions License: MIT Signed-off-by: Hector Sanjuan <hector@protocol.ai>
This commit is contained in:
parent
576872076c
commit
3ec869fee7
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user