git/githistory/log: implement Durable() on PercentageTask

This commit is contained in:
Taylor Blau 2017-06-19 16:09:50 -04:00
parent e2fe5d084e
commit a7a99e5a8d

@ -64,3 +64,7 @@ func (c *PercentageTask) Count(n uint64) (new uint64) {
func (c *PercentageTask) Updates() <-chan string { func (c *PercentageTask) Updates() <-chan string {
return c.ch return c.ch
} }
// Durable implements Task.Durable and returns false, indicating that this task
// is not durable.
func (c *PercentageTask) Durable() bool { return false }