Skip to content

Releases: nlepage/go-tarfs

v1.2.1

15 Aug 08:13
5be978f
Compare
Choose a tag to compare
  • 🐛 Ignore global header entries when creating an FS

v1.2.0

11 Aug 21:26
59cb291
Compare
Choose a tag to compare
  • ✨ 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.

v1.1.0

24 Mar 11:02
3cb2608
Compare
Choose a tag to compare
  • ✨ Support tar files missing directory entries 3cb2608

v1.0.6

06 Dec 11:45
2933a0c
Compare
Choose a tag to compare
  • fix fs.WalkDir falling in an infinite loop #11

Thanks to @adyatlov

v1.0.5

13 Sep 14:29
Compare
Choose a tag to compare
  • 🐛 fix test TestFS failed on go1.17 (#6)
  • 🐛 fix test failed on Windows (#7)
  • 🐛 fix tfs.Stat failed on "." (#8)

Thanks to @ix64

v1.0.4

06 Feb 23:24
b0239fc
Compare
Choose a tag to compare
  • ✅ Add fstest.TestFS (#3)
  • 🐛 fix HTTP expects file to be Seeker, and HTTP example (#4)

v1.0.2

05 Feb 00:21
cf99b5a
Compare
Choose a tag to compare

🐛 Implement root file, Read and ReadFile return ErrDir (cf99b5a)

v1.0.0

05 Feb 00:18
d704e6c
Compare
Choose a tag to compare

🎉 First release