ipld / ipld/go-car

carv2.NewBlockReader cannot be used with a stream

Open
#282 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
175
Forks
54
Avg merge
6d 5h
Merged PRs (30d)
4

Description

`NewBlockReader` takes an `io.Reader`, however when passed `os.Stdin` with a carv2 payload, the call to new will error with "seek /dev/stdin: illegal seek"

It's unclear how this is trying to seek on an `io.Reader` in the first place.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.