versioncontrol

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const GIT_URL_FORMAT = "https://%s@git.aurora.skead.no/scm/ac/%s.git"

Variables

This section is empty.

Functions

func Checkout

func Checkout(url string, outputPath string) (string, error)

func CollectFiles

func CollectFiles() (*client.AuroraConfig, error)

func FindGitPath

func FindGitPath(path string) (string, bool)

func GetGitUrl

func GetGitUrl(affiliation, user string, api *client.ApiClient) string

func GitCommand

func GitCommand(args ...string) (string, error)

func Pull

func Pull() (string, error)

func Save

func Save(url string, api *client.ApiClient) (string, error)

func ValidateRepo

func ValidateRepo(expectedUrl string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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