zipconduit

package
v1.0.18 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2021 License: AGPL-3.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFileToZip

func AddFileToZip(writer io.Writer, filename string, tmpdir string) error

Types

type Connection

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

Connection exposes functions to interoperate with zipconduit

func New

func New(device ios.DeviceEntry) (*Connection, error)

New returns a new ZipConduit Connection for the given DeviceID and Udid

func (Connection) SendFile

func (conn Connection) SendFile(appFilePath string) error

SendFile will send either a zipFile or an unzipped directory to the device. If you specify appFilePath to a file, it will try to unzip it to a temp dir first and then send. If appFilePath points to a directory, it will try to install the dir contents as an app.

Jump to

Keyboard shortcuts

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