mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
update gitea.com/macaron/macaron to 1.4.0 (#9608)
This commit is contained in:
9
vendor/gopkg.in/ini.v1/ini.go
generated
vendored
9
vendor/gopkg.in/ini.v1/ini.go
generated
vendored
@@ -29,7 +29,7 @@ const (
|
||||
|
||||
// Maximum allowed depth when recursively substituing variable names.
|
||||
depthValues = 99
|
||||
version = "1.48.0"
|
||||
version = "1.51.1"
|
||||
)
|
||||
|
||||
// Version returns current package version literal.
|
||||
@@ -111,8 +111,15 @@ type LoadOptions struct {
|
||||
KeyValueDelimiters string
|
||||
// PreserveSurroundedQuote indicates whether to preserve surrounded quote (single and double quotes).
|
||||
PreserveSurroundedQuote bool
|
||||
// DebugFunc is called to collect debug information (currently only useful to debug parsing Python-style multiline values).
|
||||
DebugFunc DebugFunc
|
||||
// ReaderBufferSize is the buffer size of the reader in bytes.
|
||||
ReaderBufferSize int
|
||||
}
|
||||
|
||||
// DebugFunc is the type of function called to log parse events.
|
||||
type DebugFunc func(message string)
|
||||
|
||||
// LoadSources allows caller to apply customized options for loading from data source(s).
|
||||
func LoadSources(opts LoadOptions, source interface{}, others ...interface{}) (_ *File, err error) {
|
||||
sources := make([]dataSource, len(others)+1)
|
||||
|
Reference in New Issue
Block a user