Versions in this module Expand all Collapse all v1 v1.2.1 Jun 18, 2021 Changes in this version + const GB + const GzipDefault + const GzipFiltered + const GzipFixed + const GzipHuffman + const GzipRunLengthEncoded + const KB + const MB + const TB + const XzFilterArm + const XzFilterArmThumb + const XzFilterIA64 + const XzFilterPowerPC + const XzFilterSparc + const XzFilterX86 + type Compressor interface + type CompressorGzip struct + CompressionLevel uint32 + Strategies map[GzipStrategy]bool + WindowSize uint16 + type CompressorLz4 struct + type CompressorLzma struct + type CompressorXz struct + DictionarySize uint32 + ExecutableFilters map[XzFilter]bool + type CompressorZstd struct + type File struct + func (fl *File) Close() error + func (fl *File) Read(b []byte) (int, error) + func (fl *File) Seek(offset int64, whence int) (int64, error) + func (fl *File) Write(p []byte) (int, error) + type FileStat struct + func (f *FileStat) GID() uint32 + func (f *FileStat) UID() uint32 + func (f *FileStat) Xattrs() map[string]string + type FileSystem struct + func Create(f util.File, size int64, start int64, blocksize int64) (*FileSystem, error) + func Read(file util.File, size int64, start int64, blocksize int64) (*FileSystem, error) + func (fs *FileSystem) Equal(a *FileSystem) bool + func (fs *FileSystem) Finalize(options FinalizeOptions) error + func (fs *FileSystem) Label() string + func (fs *FileSystem) Mkdir(p string) error + func (fs *FileSystem) OpenFile(p string, flag int) (filesystem.File, error) + func (fs *FileSystem) ReadDir(p string) ([]os.FileInfo, error) + func (fs *FileSystem) Type() filesystem.Type + func (fs *FileSystem) Workspace() string + type FinalizeOptions struct + Compression Compressor + FileGID *uint32 + FileUID *uint32 + NoCompressData bool + NoCompressFragments bool + NoCompressInodes bool + NoCompressXattrs bool + NoFragments bool + NoPad bool + NonExportable bool + NonSparse bool + Xattrs bool + type GzipStrategy uint16 + type XzFilter uint32