-
Improved performance Stable
released this
2024-07-17 09:30:16 -05:00 | 65 commits to main since this releaseImproved extraction performance slightly by changing some pointers to normal values.
Downloads
-
v1.0.0 Stable
released this
2023-12-28 00:03:14 -06:00 | 66 commits to main since this releaseThis is the first version I'm considering "stable" (ish). I think most parts of the library is now in a stable enough spot that no changes to the actual API should be necessary from now on. This version does have some small changes to the API compared to
v0.8.4, but it should be fairly easy to switch over.- Separated out the FUSE implementation into it's own library (as requested by #25).
- Separated out a "low"-er level library from the main library.
- This library is located at
github.com/CalebQ42/squashfs/lowand is namedsquashfslow - The main library is largely just a easier to use implementation of the low library.
- This was necessary to expose a lot of information that's needed for the FUSE library without making the library overly complex for must use cases
- This library is located at
- Re-wrote a lot of the extraction code to fix lingering issues where CPU and RAM get completely devoured
- Allow setting how many goroutines are used during extraction, with defaults based on
runtime.NumCPU() - Added
FastOptions()to attempt to extract archives as quick as possible- This will pin your CPU to 100% for the duration
- This does seem to slightly improve extraction speed, but only marginally.
- Fixed #27
- Allow setting how many goroutines are used during extraction, with defaults based on
Downloads
-
Sparse Fragments? Pre-Release
released this
2023-08-12 13:30:15 -05:00 | 79 commits to main since this releaseAdded the ability for a fragment to be sparse (filled with zeroes). This is not documented as being possible, but as with #24 it might be possible and might be the cause of #22.
Downloads
-
Additional fix Pre-Release
released this
2023-08-11 18:15:11 -05:00 | 80 commits to main since this releaseApplied fix from
v0.8.2to file'sReadin additional toWriteToDownloads
-
Fix sub blocksize sparse files Pre-Release
released this
2023-08-11 15:32:52 -05:00 | 81 commits to main since this releaseFix #24
Downloads
-
Fix Pre-Release
released this
2023-04-17 11:40:15 -05:00 | 82 commits to main since this releaseFixed an error not being reported correctly.
Downloads
-
Large file fixes Pre-Release
released this
2023-04-17 10:38:44 -05:00 | 83 commits to main since this releaseThis release has some minor breaking changes:
ExtractWithOptionsnow uses a*ExtractionOptionsinstead ofExtractionOptions.DefaultOptionsnow returns a pointer as well.ExtractionOptions.FolderPermis nowExtractionOptions.Permand is only used whenExtractionOptions.IgnorePermis set.
Fixes:
- Extracting files is now properly limited. This prevents out of control memory usage when extracting larger archives.
- Folder's permissions are only set after all it's contents are extracted.
- Fixes issues relating to the user not having permission to write the folder's contents
Other:
- Added
ExtractVerboseandExtractIgnorePermissionsfor improved ease of use.
Downloads
-
Ignore permissions Pre-Release
released this
2023-04-12 07:57:57 -05:00 | 89 commits to main since this release- You can now optionally ignore setting file permissions when extracting using
ExtractionOptions.IgnorePerm.- Additionally, permissions are now properly set for files, symlinks, and devices.
- Ignores Device files when on windows.
- Fifo files are ignored on darwin (until someone else submits a PR for support as I don't have any knowledge on the OS)
- Properly ignore socket files instead of throwing an error
- From my research, there doesn't seem to be a good way to implement this. Open to suggestions or PRs.
Downloads
- You can now optionally ignore setting file permissions when extracting using
-
Errors Pre-Release
released this
2023-04-11 00:34:43 -05:00 | 90 commits to main since this releaseMissed returning errors on File.ReadAt and File.WriteTo when trying to use them on a non-regular file.
Downloads
-
Expiremental Device support Pre-Release
released this
2023-04-09 20:41:45 -05:00 | 92 commits to main since this release- Added untested support for device files (both character and block) and Fifo device files. (fixes #22)
Downloads