gitutil

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureCloned

func EnsureCloned(uri, destinationPath string) error

EnsureCloned will clone into the destination path, otherwise will return no error.

func EnsureUpdated

func EnsureUpdated(uri, destinationPath string) error

EnsureUpdated will ensure the destination path exists and is up to date.

func IsGitCloned

func IsGitCloned(gitPath string) (bool, error)

IsGitCloned will test if the path is a git dir.

Types

This section is empty.

Jump to

Keyboard shortcuts

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