repo

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2021 License: MPL-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Version

func Version(apk APKAcquirer) (int, error)

func VersionName

func VersionName(apk APKAcquirer) (string, error)

Types

type APKAcquirer

type APKAcquirer interface {
	UpdateCache(*adb.Device) error
	GetApkPaths(*adb.Device, *int) ([]string, error)
	Apk() *Apk
}

func Package

func Package(method string, pkg string) (APKAcquirer, error)

type Apk added in v0.5.0

type Apk struct {
	Name     string
	BasePath *string
	Paths    []string
}

type AuroraPackage added in v0.5.0

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

func (AuroraPackage) Apk added in v0.5.0

func (pkg AuroraPackage) Apk() *Apk

func (AuroraPackage) GetApkPaths added in v0.5.0

func (pkg AuroraPackage) GetApkPaths(device *adb.Device, version *int) ([]string, error)

func (AuroraPackage) UpdateCache added in v0.5.0

func (pkg AuroraPackage) UpdateCache(device *adb.Device) error

type FDroidPackage

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

func (FDroidPackage) Apk added in v0.5.0

func (pkg FDroidPackage) Apk() *Apk

func (FDroidPackage) GetApkPaths added in v0.5.0

func (pkg FDroidPackage) GetApkPaths(device *adb.Device, _ *int) ([]string, error)

func (FDroidPackage) UpdateCache

func (pkg FDroidPackage) UpdateCache(device *adb.Device) error

type GPlayCLIPackage

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

func (GPlayCLIPackage) Apk added in v0.5.0

func (pkg GPlayCLIPackage) Apk() *Apk

func (GPlayCLIPackage) GetApkPaths added in v0.5.0

func (pkg GPlayCLIPackage) GetApkPaths(device *adb.Device, _ *int) ([]string, error)

func (GPlayCLIPackage) UpdateCache

func (pkg GPlayCLIPackage) UpdateCache(device *adb.Device) error

Jump to

Keyboard shortcuts

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