git

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package git provides a git source

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source struct {
	Options source.Options
}

Source retrieves source code An empty struct can be used

func NewSource

func NewSource(opts ...source.Option) *Source

func (*Source) Commit

func (g *Source) Commit(r *source.Repository) error

func (*Source) Fetch

func (g *Source) Fetch(url string) (*source.Repository, error)

func (*Source) String

func (g *Source) String() string

Jump to

Keyboard shortcuts

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