git/githistory/log: implement Durable() on PercentageTask
This commit is contained in:
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 }
|
||||||
|
Loading…
Reference in New Issue
Block a user