gapps

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SumType string = "sha256"
)

Variables

View Source
var GLOBAL_TO_EXIST bool
View Source
var WaitToSweepSig = make(chan struct{})

Functions

func GetGVCLocalProjectPath

func GetGVCLocalProjectPath() string

func IsFileCompressebBySuffix

func IsFileCompressebBySuffix(filename string) bool

Types

type AppDownloader

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

func NewDownloader

func NewDownloader() (d *AppDownloader)

func (*AppDownloader) FindUrl

func (that *AppDownloader) FindUrl(dUrl string) (rUrl string)

func (*AppDownloader) GetGitCmd

func (that *AppDownloader) GetGitCmd() string

func (*AppDownloader) Push

func (that *AppDownloader) Push()

func (*AppDownloader) RemoveTempDir

func (that *AppDownloader) RemoveTempDir() error

func (*AppDownloader) Start

func (that *AppDownloader) Start(filenames ...string)

type Info

type Info struct {
	Result *InfoResult
	// contains filtered or unexported fields
}

func NewInfo

func NewInfo(cnf *config.GSConf) *Info

func (*Info) CheckSum

func (that *Info) CheckSum(filename, tempLocalPath string) (updated bool)

func (*Info) Load

func (that *Info) Load()

func (*Info) Store

func (that *Info) Store()

type InfoResult

type InfoResult struct {
	InfoList         map[string]*ItemInfo `json,koanf:"info_list"`
	GVCLatestVersion string               `json,koanf:"gvc_latest_version"`
}

type ItemInfo

type ItemInfo struct {
	SHA256  string `json,koanf:"sha256"`
	UpdatAt string `json,koanf:"updat_at"`
}

Jump to

Keyboard shortcuts

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