Skip to content

v1.2.0

Compare
Choose a tag to compare
@nlepage nlepage released this 11 Aug 21:26
· 3 commits to main since this release
59cb291
  • ✨ Read files content lazily (#14)
    • Stop reading all files content in memory
    • Read whole tar file once and record position of each file
    • Create a specific tar.Reader each time a file needs to be read
    • If the given io.Reader isn't an io.ReaderAt, fallback to reading the whole tar file in a buffer
    • Reimplement io.Seeker over tar.Reader to allow usage with http.FS

Huge thanks to @joelanford for his ideas, contributions, reviews, and patience.