Versions in this module Expand all Collapse all v1 v1.0.0 Jun 2, 2023 Changes in this version + const POINTER_SIZE + func DestroyList(entries []IEntry) error + type Archive struct + Err error + func NewArchive(path string) *Archive + func (ego *Archive) Destroy() error + func (ego *Archive) Extract(entries []IEntry) + func (ego *Archive) List() []IEntry + func (ego *Archive) SetAlwaysOverwritesFiles(alwaysOverwriteFiles bool) + func (ego *Archive) SetAlwaysSkipsFiles(alwaysSkipsFiles bool) + func (ego *Archive) SetBatch(batch int, entries []IEntry) + func (ego *Archive) SetCopiesArchiveModificationTimeToEnclosingDirectory(copiesArchiveModificationTimeToEnclosingDirectory bool) + func (ego *Archive) SetDestination(path string) + func (ego *Archive) SetEncodingName(encodingName string) + func (ego *Archive) SetExtractsSubArchives(extractsSubArchives bool) + func (ego *Archive) SetMacResourceForkStyle(macResourceForkStyle bool) + func (ego *Archive) SetPassword(password string) + func (ego *Archive) SetPasswordEncodingName(passEncodingName string) + func (ego *Archive) SetPropagatesRelevantMetadata(propagatesRelevantMetadata bool) + type Entry struct + func (ego *Entry) Destroy() error + func (ego *Entry) GetCorrupted() bool + func (ego *Entry) GetDir() bool + func (ego *Entry) GetEid() uint32 + func (ego *Entry) GetEncoding() string + func (ego *Entry) GetEncrypted() bool + func (ego *Entry) GetError() error + func (ego *Entry) GetFilename() string + func (ego *Entry) GetLink() bool + func (ego *Entry) GetRenaming() string + func (ego *Entry) GetResource() bool + func (ego *Entry) GetSize() uint + func (ego *Entry) SetRenaming(renaming string) + type IArchive interface + Destroy func() error + Extract func([]IEntry) + List func() []IEntry + SetAlwaysOverwritesFiles func(bool) + SetAlwaysSkipsFiles func(bool) + SetBatch func(int, []IEntry) + SetCopiesArchiveModificationTimeToEnclosingDirectory func(bool) + SetDestination func(string) + SetEncodingName func(string) + SetExtractsSubArchives func(bool) + SetMacResourceForkStyle func(bool) + SetPassword func(string) + SetPasswordEncodingName func(string) + SetPropagatesRelevantMetadata func(bool) + type IEntry interface + Destroy func() error + GetCorrupted func() bool + GetDir func() bool + GetEid func() uint32 + GetEncoding func() string + GetEncrypted func() bool + GetError func() error + GetFilename func() string + GetLink func() bool + GetRenaming func() string + GetResource func() bool + GetSize func() uint + SetRenaming func(string)