zip

package
v3.50.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2025 License: AGPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WrapFile added in v3.44.0

type WrapFile struct {
	// contains filtered or unexported fields
}

func (*WrapFile) FileInfo added in v3.44.0

func (f *WrapFile) FileInfo() fs.FileInfo

func (*WrapFile) IsEncrypted added in v3.44.0

func (f *WrapFile) IsEncrypted() bool

func (*WrapFile) Name added in v3.44.0

func (f *WrapFile) Name() string

func (*WrapFile) Open added in v3.44.0

func (f *WrapFile) Open() (io.ReadCloser, error)

func (*WrapFile) SetPassword added in v3.44.0

func (f *WrapFile) SetPassword(password string)

type WrapFileInfo added in v3.44.0

type WrapFileInfo struct {
	fs.FileInfo
}

func (*WrapFileInfo) Name added in v3.44.0

func (f *WrapFileInfo) Name() string

type WrapReader added in v3.44.0

type WrapReader struct {
	Reader *zip.Reader
}

func (*WrapReader) Files added in v3.44.0

func (r *WrapReader) Files() []tool.SubFile

type Zip

type Zip struct {
}

func (Zip) AcceptedExtensions

func (Zip) AcceptedExtensions() []string

func (Zip) AcceptedMultipartExtensions added in v3.44.0

func (Zip) AcceptedMultipartExtensions() map[string]tool.MultipartExtension

func (Zip) Decompress

func (Zip) Decompress(ss []*stream.SeekableStream, outputPath string, args model.ArchiveInnerArgs, up model.UpdateProgress) error

func (Zip) Extract

func (Zip) GetMeta

func (Zip) GetMeta(ss []*stream.SeekableStream, args model.ArchiveArgs) (model.ArchiveMeta, error)

func (Zip) List

func (Zip) List(ss []*stream.SeekableStream, args model.ArchiveInnerArgs) ([]model.Obj, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL