-
Clean before validating path Pre-Release
released this
2022-10-24 03:17:55 -05:00 | 111 commits to main since this releasePaths passed to
squashfs.FSare now cleaned before they are validated. This is to fix an issue I found where a valid symlink was being rejected due to the path starting with ./Downloads
-
Fragments work properly Pre-Release
released this
2022-08-26 12:11:27 -05:00 | 112 commits to main since this releaseFixed a couple issues with fragments. Particularly:
- If you had more then 512 fragments then it would start using ID table numbers (oops) (thanks @tri-adam)
- Some fragments would not be read from deep enough into the fragment
Additional Fixes:
- FS.ReadDir, FS.Glob, and FS.Stat would throw type assertion errors. (Again, thanks @tri-adam)
What's Changed
- v0.6.0 fixes by @tri-adam in https://github.com/CalebQ42/squashfs/pull/16
Full Changelog: https://github.com/CalebQ42/squashfs/compare/v0.6.0...v0.6.1
Downloads
-
Mainly just some code work Pre-Release
released this
2022-08-26 05:01:17 -05:00 | 117 commits to main since this releaseIdeally this release does basically nothing, it's just a large re-write of many parts of the code to make it more maintainable and understandable. This does fix one bug (#15 and #14) relating to how fragments are read and processed.
There are some breaking changes.
- NewSquashfsReader and NewSquashfsReaderFromReader have been renamed to NewReader and NewReaderFromReader.
- This better matches other libraries.
- Reader.Init() was removed. This was never meant to be exported and shouldn't have been used.
- FileInfo and DirEntry is not longer exported. They were identical in functionality to fs.FileInfo and fs.DirEntry so it felt unnecessary to export them as separate structs.
This release should be good, but due to the large amount of changes (and the fact I apparently finished it a month ago, then go COVID and completely forgot about it) I recommend caution when upgrading to it.
Downloads
- NewSquashfsReader and NewSquashfsReaderFromReader have been renamed to NewReader and NewReaderFromReader.
-
Handle paths with special characters Pre-Release
released this
2022-04-22 04:25:42 -05:00 | 131 commits to main since this releaseChanged
Open,ReadDir,Stat, andSubto only accept exact matches. Allowing wildcards by usingpath.Matchcauses issues in certain circumstances. You can usefs.Globif you need to use wildcards, and I'll probably implementfs.GlobFSat some point in the near (ish) future.What's Changed
- fix: handle paths with special characters by @tri-adam in https://github.com/CalebQ42/squashfs/pull/11
New Contributors
- @tri-adam made their first contribution in https://github.com/CalebQ42/squashfs/pull/11
Full Changelog: https://github.com/CalebQ42/squashfs/compare/v0.5.3...v0.5.4
Downloads
-
Added "." directory support. Pre-Release
released this
2021-12-02 07:40:27 -06:00 | 134 commits to main since this releaseAdded support for "." as a directory thanks to @stffabi
Downloads
-
Fixed io.Reader support Pre-Release
released this
2021-09-27 01:27:58 -05:00 | 136 commits to main since this releaseFixed some issues I was having with io.Readers and squashfs archives
Downloads
-
io.Reader support Pre-Release
released this
2021-09-26 18:30:08 -05:00 | 139 commits to main since this releaseYou can now use an io.Reader to create a squashfs.Reader. This is not recommended, especially for large archives since almost all of the archive WILL end up cached in memory.
Downloads
-
Lzo and Xz filters Pre-Release
released this
2021-09-12 05:26:47 -05:00 | 140 commits to main since this release- This library now has support for Lzo compression and Xz filters.
Downloads
-
io/fs Pre-Release
released this
2021-02-25 03:17:20 -06:00 | 151 commits to main since this releaseThis library now implements several io/fs interfaces, including fs.FS and fs.File for the main Reader and File respectively. In making it compliant, I did manage to slightly speed up extraction slightly.
Hopefully, the next release will be v1.0.0 when I finish Writer.
Downloads
-
Even MORE BUGS? Pre-Release
released this
2021-01-16 03:09:48 -06:00 | 166 commits to main since this releaseFixed extended inode parsing
Downloads