From a7a99e5a8d99c0faf4e8ceaaa16d8fe07b4c9e62 Mon Sep 17 00:00:00 2001 From: Taylor Blau Date: Mon, 19 Jun 2017 16:09:50 -0400 Subject: [PATCH] git/githistory/log: implement Durable() on PercentageTask --- git/githistory/log/percentage_task.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/git/githistory/log/percentage_task.go b/git/githistory/log/percentage_task.go index 64cd1bad..05d5740b 100644 --- a/git/githistory/log/percentage_task.go +++ b/git/githistory/log/percentage_task.go @@ -64,3 +64,7 @@ func (c *PercentageTask) Count(n uint64) (new uint64) { func (c *PercentageTask) Updates() <-chan string { return c.ch } + +// Durable implements Task.Durable and returns false, indicating that this task +// is not durable. +func (c *PercentageTask) Durable() bool { return false }