Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error on Next() when skipping files. #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jun 10, 2020

  1. Fix error on Next() when skipping files.

    With this change, we discard remaining bytes for the actual file to
    avoid errors on partial reads or skipping files calling Next()
    without reading.
    
    Several optimizations are possible, like directly Seek to the next file
    without reading the previous one, if the underlying reader supports it.
    
    Signed-off-by: Antonio Navarro Perez <[email protected]>
    ajnavarro committed Jun 10, 2020
    Configuration menu
    Copy the full SHA
    0084646 View commit details
    Browse the repository at this point in the history