We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca897f7 commit a35564aCopy full SHA for a35564a
modules/setting/config_provider.go
@@ -36,8 +36,8 @@ type ConfigProvider interface {
36
type iniFileConfigProvider struct {
37
*ini.File
38
filepath string // the ini file path
39
- newFile bool // whether the file exists
40
- allowEmpty bool // whether allow empty
+ newFile bool // whether the file has not existed previously
+ allowEmpty bool // whether not finding configuration files is allowed (only true for the tests)
41
}
42
43
// NewEmptyConfigProvider create a new empty config provider
0 commit comments