func (r *Result) Head() *git.Oid {
	r.mu.RLock()
	defer r.mu.RUnlock()
	return r.head
}
Head returns the latest split sha1
package splitter
import (
	"sync"
	"time"
	"github.com/libgit2/git2go"
)
type Result struct {
	mu        sync.RWMutex
	traversed int
	created   int
	head      *git.Oid
	duration  time.Duration
}
func NewResult(duration time.Duration, traversed, created int) *Result {
	return &Result{
		duration:  duration,
		traversed: traversed,
		created:   created,
	}
}
func (r *Result) Traversed() int {
	r.mu.RLock()
	defer r.mu.RUnlock()
	return r.traversed
}
func (r *Result) Created() int {
	r.mu.RLock()
	defer r.mu.RUnlock()
	return r.created
}
func (r *Result) Duration(precision time.Duration) time.Duration {
	r.mu.RLock()
	defer r.mu.RUnlock()
	return roundDuration(r.duration, precision)
}