git

package
v1.12.2 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Clone(string, string) error
	Pull(string) error
}

Interface defines the behaviors of the internal git package

type Operations

type Operations struct{}

Operations contains the behaviors of the internal git package

func (Operations) Clone

func (g Operations) Clone(appCachePath, app string) error

Clone clones a repo locally, returns an error if it fails

func (Operations) Pull

func (g Operations) Pull(appCachePath string) error

Pull will update the changes for the provided repo or fails

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳