Skip to content
Snippets Groups Projects

Initial implementation of an elasticsearch indexer in Go

Merged Nick Thomas requested to merge 1-initial-implementation into master
All threads resolved!
2 files
+ 20
4
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 2
2
@@ -44,8 +44,8 @@ func (i *Indexer) SubmitBlob(f *git.File, _, toCommit string) error {
return nil
}
func (i *Indexer) RemoveBlob(file *git.File, _, toCommit string) error {
blobID := GenerateBlobID(toCommit, i.Submitter.ParentID())
func (i *Indexer) RemoveBlob(file *git.File, _, _ string) error {
blobID := GenerateBlobID(i.Submitter.ParentID(), file.Path)
i.Submitter.Remove(blobID)
return nil
Loading