zip

package
v0.0.0-...-19f3ddf Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockZipReaderInterface

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

MockZipReaderInterface is a mock of ZipReader interface.

func NewMockZipReaderInterface

func NewMockZipReaderInterface(ctrl *gomock.Controller) *MockZipReaderInterface

NewMockZipReaderInterface creates a new mock instance.

func (*MockZipReaderInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockZipReaderInterface) UnzipFile

func (m *MockZipReaderInterface) UnzipFile(srcFile, dstPath string) error

UnzipFile mocks base method.

type MockZipReaderInterfaceMockRecorder

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

MockZipReaderInterfaceMockRecorder is the mock recorder for ZipReader.

func (*MockZipReaderInterfaceMockRecorder) UnzipFile

func (mr *MockZipReaderInterfaceMockRecorder) UnzipFile(srcFile, dstPath interface{}) *gomock.Call

UnzipFile indicates an expected call of UnzipFile.

type Zip

type Zip struct {
}

func (*Zip) UnzipFile

func (z *Zip) UnzipFile(srcFile, dstPath string) error

type ZipReader

type ZipReader interface {
	UnzipFile(s, d string) error
}

Jump to

Keyboard shortcuts

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