From a7d3edbe57719e80a819e161d93b1cd6d3fde502 Mon Sep 17 00:00:00 2001 From: Dan Kortschak Date: Sun, 17 Jun 2018 21:10:27 +0930 Subject: [PATCH] revid: rename ChangeConfig to SetConfig --- revid/revid.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/revid/revid.go b/revid/revid.go index 04ffd9ad..21ead9a2 100644 --- a/revid/revid.go +++ b/revid/revid.go @@ -208,8 +208,8 @@ func (r *Revid) reset(config Config) error { return nil } -// ChangeConfig changes the current configuration of the Revid instance. -func (r *Revid) ChangeConfig(c Config) error { +// SetConfig changes the current configuration of the receiver. +func (r *Revid) SetConfig(c Config) error { // FIXME(kortschak): This is reimplemented in cmd/revid-cli/main.go. // The implementation in the command is used and this is not. // Decide on one or the other.