Skip to content

Commit

Permalink
rename per code review
Browse files Browse the repository at this point in the history
  • Loading branch information
willscott authored and rvagg committed Aug 12, 2022
1 parent 78b25a2 commit c3789f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v2/selective.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ func TraverseV1(ctx context.Context, ls *ipld.LinkSystem, root cid.Cid, selector
return len, err
}

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

0 comments on commit c3789f2

Please sign in to comment.