mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Update gitea.com/macaron/i18n (#12806)
Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
3
vendor/gopkg.in/ini.v1/file.go
generated
vendored
3
vendor/gopkg.in/ini.v1/file.go
generated
vendored
@@ -302,6 +302,9 @@ func (f *File) Reload() (err error) {
|
||||
}
|
||||
return err
|
||||
}
|
||||
if f.options.ShortCircuit {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
2
vendor/gopkg.in/ini.v1/ini.go
generated
vendored
2
vendor/gopkg.in/ini.v1/ini.go
generated
vendored
@@ -81,6 +81,8 @@ type LoadOptions struct {
|
||||
IgnoreInlineComment bool
|
||||
// SkipUnrecognizableLines indicates whether to skip unrecognizable lines that do not conform to key/value pairs.
|
||||
SkipUnrecognizableLines bool
|
||||
// ShortCircuit indicates whether to ignore other configuration sources after loaded the first available configuration source.
|
||||
ShortCircuit bool
|
||||
// AllowBooleanKeys indicates whether to allow boolean type keys or treat as value is missing.
|
||||
// This type of keys are mostly used in my.cnf.
|
||||
AllowBooleanKeys bool
|
||||
|
Reference in New Issue
Block a user