helper

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ASCII_0 = 48
	ASCII_9 = 57
	ASCII_a = 97
)

Variables

This section is empty.

Functions

func NewReportStatus

func NewReportStatus(unpackStatus string, refState string, errMsg string) []byte

func OutPutArchive

func OutPutArchive(c *webcontext.Context, ref string, format string) string

OutPutArchive 创建打包文件

func OutPutArchiveDelete

func OutPutArchiveDelete(c *webcontext.Context, path string)

OutPutArchiveDelete 删除打包文件 (文件打包上传完必须删除)

func PostReceiveHook

func PostReceiveHook(pushEvents []*models.PayloadPushEvent, c *webcontext.Context)

trigger event

func RunAdvertisement

func RunAdvertisement(service string, c *webcontext.Context)

RunAdvertisement command

func RunArchive

func RunArchive(c *webcontext.Context, ref string, format string)

func RunProcess

func RunProcess(service string, c *webcontext.Context)

RunProcess command

func SendInfoPacks

func SendInfoPacks(c *webcontext.Context)

SendInfoPacks info packs

func SendLooseObject

func SendLooseObject(prefix string, suffix string, c *webcontext.Context)

SendLooseObject loose object

func SendPackIdxFile

func SendPackIdxFile(pack string, isIdx bool, c *webcontext.Context)

SendPackIdxFile file

func SendTextFile

func SendTextFile(file string, c *webcontext.Context)

SendTextFile file

Types

This section is empty.

Jump to

Keyboard shortcuts

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