house_arrest

package
v1.0.45 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2022 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Encode

func Encode(packet AfcPacket, writer io.Writer) error

Types

type AfcPacket

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

func Decode

func Decode(reader io.Reader) (AfcPacket, error)

type AfcPacketHeader

type AfcPacketHeader struct {
	Magic         uint64
	Entire_length uint64
	This_length   uint64
	Packet_num    uint64
	Operation     uint64
}

byte fileHandle = afcClient.executeRemoteOpenFileWriteCommand(relativeTestConfigurationPath);

afcClient.executeSendFileCommand(serializedXctestConfig, fileHandle);
afcClient.closeFile(fileHandle);

type Connection

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

func New

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

func (Connection) Close

func (c Connection) Close()

func (*Connection) ListFiles

func (conn *Connection) ListFiles(filePath string) ([]string, error)

func (*Connection) SendFile

func (conn *Connection) SendFile(fileContents []byte, filePath string) error

Jump to

Keyboard shortcuts

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