importer

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2016 License: MIT Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsBranch

func ContainsBranch(repoPath string, commitId string) ([]string, error)

Types

type GitImporter

type GitImporter struct {
	// contains filtered or unexported fields
}

func NewGitImporter

func NewGitImporter(config config.Config, indexer indexer.Indexer) *GitImporter

func (*GitImporter) CreateBranchIndex

func (g *GitImporter) CreateBranchIndex(queue chan indexer.FileIndexOperation, r *repo.GitRepo, branchName string, latestCommitId string) error

func (*GitImporter) Run

func (g *GitImporter) Run(organization string, project string, url string)

func (*GitImporter) RunIndexing

func (g *GitImporter) RunIndexing(url string, repo *repo.GitRepo, branchName string)

func (*GitImporter) UpdateBranchIndex

func (g *GitImporter) UpdateBranchIndex(queue chan indexer.FileIndexOperation, r *repo.GitRepo, branchName string, fromCommitId string, toCommitId string) error

Jump to

Keyboard shortcuts

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