this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix gosky build

authored by

whyrusleeping and committed by
whyrusleeping
8b654ac5 9729524c

+5 -1
+1 -1
cmd/gosky/main.go
··· 672 672 vals := cctx.Bool("values") 673 673 cids := cctx.Bool("cids") 674 674 675 - if _, err := repo.StreamRepoRecords(ctx, bytes.NewReader(repob), collection, func(k string, cc cid.Cid, v []byte) error { 675 + if err := repo.StreamRepoRecords(ctx, bytes.NewReader(repob), collection, nil, func(k string, cc cid.Cid, v []byte) error { 676 676 if !strings.HasPrefix(k, collection) { 677 677 return repo.ErrDoneIterating 678 678 }
+4
repo/stream.go
··· 115 115 ctx, span := otel.Tracer("repo").Start(ctx, "RepoStream") 116 116 defer span.End() 117 117 118 + if setRev == nil { 119 + setRev = func(string) {} 120 + } 121 + 118 122 br, root, err := carutil.NewReader(bufio.NewReader(r)) 119 123 if err != nil { 120 124 return fmt.Errorf("opening CAR block reader: %w", err)