repo

package
v0.0.0-...-a2eecc6 Latest Latest
Warning

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

Go to latest
Published: May 11, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractPath

func ExtractPath(repo string) (string, error)

ExtractPath return repo path

func GetAuth

func GetAuth(repo string, username string, token string) (transport.AuthMethod, error)

GetAuth return repo auth

func Pull

func Pull(r *git.Repository, repo string, repoRef string, repoAuth transport.AuthMethod) error

func Push

func Push(r *git.Repository, target string, originRef string, targetRef string, targetAuth transport.AuthMethod) error

func ValidateRepo

func ValidateRepo(repo string, repoAuth transport.AuthMethod) error

ValidateRepo check repo validate or not

Types

This section is empty.

Jump to

Keyboard shortcuts

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