You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seeking to an offset equal to the size of the file (or a bigger) leaves the linkPosition (unmodified) at the start of the file (where subsequent read operations will pick up from).
I'm working on some modifications to the DAG reader and I'm not sure if this is a bug or it is an intended behavior (I don't know what happens in the Unix API when doing something like this) as some of the current tests (like TestLargeWriteChunks) depend on it.
The text was updated successfully, but these errors were encountered:
Seeking to an offset equal to the size of the file (or a bigger) leaves the
linkPosition
(unmodified) at the start of the file (where subsequent read operations will pick up from).https://github.com/ipfs/go-ipfs/blob/9bad5fe6fef11fc5d923e7ebecbe6f53deb044fe/unixfs/io/pbdagreader.go#L275-L286
I'm working on some modifications to the DAG reader and I'm not sure if this is a bug or it is an intended behavior (I don't know what happens in the Unix API when doing something like this) as some of the current tests (like
TestLargeWriteChunks
) depend on it.The text was updated successfully, but these errors were encountered: