revid: rename ChangeConfig to SetConfig

This commit is contained in:
Dan Kortschak 2018-06-17 21:10:27 +09:30
parent ed923ed256
commit a7d3edbe57
1 changed files with 2 additions and 2 deletions

View File

@ -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.