git

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloneOneProject

func CloneOneProject(project *gitlab.Project)

func CloneProjects

func CloneProjects(ctx context.Context, wg *sync.WaitGroup)

func GetRepoLocalPath

func GetRepoLocalPath(httpsUrl string) (string, error)

func GetRepoPathByHTTPSURL

func GetRepoPathByHTTPSURL(HTTPSURL string) (string, error)

func GetRepoPathBySSHURL

func GetRepoPathBySSHURL(SSHURL string) (string, error)

func PullOneRepo

func PullOneRepo(dir string) error

func PullProjects

func PullProjects(ctx context.Context, wg *sync.WaitGroup, projCh *chan *gitlab.Project)

Types

This section is empty.

Jump to

Keyboard shortcuts

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