# go-sparsebundle **Repository Path**: mirrors_threez/go-sparsebundle ## Basic Information - **Project Name**: go-sparsebundle - **Description**: direct access to the sparse bundle format using golang - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-06-16 - **Last Updated**: 2026-01-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # go-sparsebundle [![Go Reference](https://pkg.go.dev/badge/github.com/threez/go-sparsebundle.svg)](https://pkg.go.dev/github.com/threez/go-sparsebundle) Direct access to the sparse bundle format using golang using cgo. This library is a wrapper on top of the already existing https://github.com/gyf304/sparsebundle-fuse due to that the software is GPLv2. ## How to use ```go bbundle, err := Open("./tests/test.sparsebundle", 16) if err != nil { panic(err) } defer b.Close() // bundle implements: // * io.ReadWriteSeeker // * io.ReaderAt // * io.WriterAt // * io.Closer ``` ## Test There are a few test files * `tests/empty.sparsebundle` an almost empty file with only 10 bytes written * `tests/FAT10.sparsebundle` a 10 MB GPT FAT file * `tests/test.sparsebundle` an encrypted sparse bundle with a single file in it