mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-10-18 08:08:31 +00:00
update gitea.com/macaron/macaron to 1.4.0 (#9608)
This commit is contained in:
parent
4f54a4628a
commit
a5a79f702d
12 changed files with 153 additions and 62 deletions
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue