gitclient

package
v82.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2017 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInterrupted = errors.New("interrupted")

Functions

func New

func New(privateKeyPath, publicKeyPath string) *client

func NewLooper

func NewLooper() *looper

Types

type FileLookup

type FileLookup interface {
	FileContents(repoPath string, branch string, filePath string) ([]byte, error)
}

func NewFileLookup

func NewFileLookup() FileLookup

type Looper

type Looper interface {
	ScanCurrentState(repositoryPath string, callback ScanCallback) error
}

type ScanCallback

type ScanCallback func(sha string, path string, content []byte)

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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