-
Extracting! Pre-Release
released this
2020-12-07 10:41:45 -06:00 | 196 commits to main since this release- You can now do File.ExtractTo and it will try to extract the file (or folder) to the specified path. This allows for folder extraction and it also sets the proper permissions.
- Will probably add a Reader.ExtractTo function at some point for ease of use, but for right now you can just run ExtractTo from the root folder.
- This brings extraction, nearly, to a "complete enough" point. I still want to add the rest of compression types, but otherwise the reading api shouldn't have any major changes. There are some things that are not supported, and might not be supported when v1 of the library is launched.
- Extra Attributes (Xattr). Frankly I need to do a bunch more research on WHAT these actually are and how to apply them to the files. Not a high priority unless I get requests for it.
- Compressor Options. From what I've seen, the Go libraries for compression and decompression don't have these options. I'll probably eventually implement what I can, and give you a warning if it's unsupported.
From here, v0.3.1 will probably implement the rest of the compression types (and what compression options I can), and I'll start focusing my attention on squashing.
Downloads
- You can now do File.ExtractTo and it will try to extract the file (or folder) to the specified path. This allows for folder extraction and it also sets the proper permissions.
-
Symlinking! Pre-Release
released this
2020-11-28 02:39:58 -06:00 | 209 commits to main since this release- Now featuring some symlink support.
- If a squashfs.File is a symlink (which you can find out with the IsSymlink function) you can get the path it's symlinking to, and get the file it's symlinking to, if said file is inside the archive.
- You can now get a file from a path from a squashfs.File directory.
Downloads
- Now featuring some symlink support.
-
Files! Pre-Release
released this
2020-11-27 00:36:21 -06:00 | 212 commits to main since this releaseReading from a squashfs now comes in the form of squashfs.File. This gives more information about the file or folder your interacting with, and provides an io.Reader interface.
What this means is you can easily find the files you need, either by getting a list of ALL files and folder, through a string path, or by searching for one with a function.
Downloads
-
Renamed release Pre-Release
released this
2020-11-25 10:51:59 -06:00 | 218 commits to main since this releaseRenamed the library to squashfs so that the library is easier to use.
Downloads
-
Basic Beginnings Pre-Release
released this
2020-11-25 08:38:58 -06:00 | 220 commits to main since this releaseThis is the very first version that's actually functional! Right now all it can do is list ALL files and folders in a squashfs, and provide a reader (io.Reader) to read files from inside the squashfs.
- ONLY supports gzip compression (or no compression) WITHOUT any special options (certain options MAY still work, but not promises).
Downloads