githelp

package
v0.0.0-...-c644d22 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloneGetrepo

func CloneGetrepo(repourl, branch, localpath string, c context.Context) (*git.Repository, error)

func CommitPushFiles

func CommitPushFiles(filesinfo []Writeinfo, repo *git.Repository, perfixstr string, c context.Context) bool

func UpdateAll

func UpdateAll(c context.Context) map[string]RepoCloneResult

Types

type RepoCloneResult

type RepoCloneResult struct {
	Name     string
	Repo     *git.Repository
	Msg      string
	Isupdate bool
}

type Writeinfo

type Writeinfo struct {
	Filepath string
	Content  string
	Del      bool
}

Jump to

Keyboard shortcuts

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