Documentation
¶
Index ¶
- func ContainsBranch(repoPath string, commitId string) ([]string, error)
- type GitImporter
- func (g *GitImporter) CreateBranchIndex(queue chan indexer.FileIndexOperation, r *repo.GitRepo, branchName string, ...) error
- func (g *GitImporter) Run(organization string, project string, url string)
- func (g *GitImporter) RunIndexing(url string, repo *repo.GitRepo, branchName string)
- func (g *GitImporter) UpdateBranchIndex(queue chan indexer.FileIndexOperation, r *repo.GitRepo, branchName string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
Click to show internal directories.
Click to hide internal directories.