code: func findEntry(t *gitobj.Tree, name string) int {
  	for i, entry := range t.Entries {
  		if entry.Name == name {
  			return i
  		}
  	}
  
  	return -1
  }
docs: // findEntry searches a tree for the desired entry, and returns the index of that
  // entry within the tree's Entries array