Remove unused field in Config.

Commit 2c7ab48825 added new struct
InputConfig which contains Path string and Recursive bool. The rest of
go-bindata has been changed to use that.
The Recursive flag inside Config is now completely unused, and should
be removed since it makes code harder to read.
This commit is contained in:
Dmitri Shuralyov 2015-02-25 17:34:33 -08:00
parent 8ec170e704
commit af127dc2da

View File

@ -127,11 +127,6 @@ type Config struct {
// repository.
Dev bool
// Recursively process all assets in the input directory and its
// sub directories. This defaults to false, so only files in the
// input directory itself are read.
Recursive bool
// Ignores any filenames matching the regex pattern specified, e.g.
// path/to/file.ext will ignore only that file, or \\.gitignore
// will match any .gitignore file.
@ -147,7 +142,6 @@ func NewConfig() *Config {
c.NoMemCopy = false
c.NoCompress = false
c.Debug = false
c.Recursive = false
c.Output = "./bindata.go"
c.Ignore = make([]*regexp.Regexp, 0)
return c