Skip to content

Commit c3789f2

Browse files
willscottrvagg
authored andcommitted
rename per code review
1 parent 78b25a2 commit c3789f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

v2/selective.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ func TraverseV1(ctx context.Context, ls *ipld.LinkSystem, root cid.Cid, selector
142142
return len, err
143143
}
144144

145-
// CreateV1Reader creates an io.ReadSeeker that can be used to copy out the carv1 contents of a car.
146-
func CreateV1Reader(ctx context.Context, ls *ipld.LinkSystem, root cid.Cid, selector ipld.Node, opts ...Option) (io.ReadSeeker, error) {
145+
// NewCarV1StreamReader creates an io.ReadSeeker that can be used to copy out the carv1 contents of a car.
146+
func NewCarV1StreamReader(ctx context.Context, ls *ipld.LinkSystem, root cid.Cid, selector ipld.Node, opts ...Option) (io.ReadSeeker, error) {
147147
opts = append(opts, WithoutIndex())
148148
conf := ApplyOptions(opts...)
149149
tc := traversalCar{

0 commit comments

Comments
 (0)