Working on a better API to interact with squashfs
New API uses a File that can hold more information.
This commit is contained in:
@@ -11,6 +11,10 @@ type decompressor interface {
|
||||
Decompress(io.Reader) ([]byte, error)
|
||||
}
|
||||
|
||||
type compressor interface {
|
||||
Compress(io.Reader) ([]byte, error)
|
||||
}
|
||||
|
||||
//ZlibDecompressor is a decompressor for gzip type compression
|
||||
type zlibDecompressor struct{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user