mirror of
https://github.com/go-gitea/gitea
synced 2024-12-23 00:54:28 +00:00
Revert to upstream ini dependency (#2304)
This commit is contained in:
parent
fc29a405e8
commit
c76ee5688b
4
vendor/gopkg.in/ini.v1/ini.go
generated
vendored
4
vendor/gopkg.in/ini.v1/ini.go
generated
vendored
@ -35,7 +35,7 @@ const (
|
|||||||
|
|
||||||
// Maximum allowed depth when recursively substituing variable names.
|
// Maximum allowed depth when recursively substituing variable names.
|
||||||
_DEPTH_VALUES = 99
|
_DEPTH_VALUES = 99
|
||||||
_VERSION = "1.28.1"
|
_VERSION = "1.28.2"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Version returns current package version literal.
|
// Version returns current package version literal.
|
||||||
@ -542,7 +542,7 @@ func (f *File) WriteTo(w io.Writer) (int64, error) {
|
|||||||
func (f *File) SaveToIndent(filename, indent string) error {
|
func (f *File) SaveToIndent(filename, indent string) error {
|
||||||
// Note: Because we are truncating with os.Create,
|
// Note: Because we are truncating with os.Create,
|
||||||
// so it's safer to save to a temporary file location and rename afte done.
|
// so it's safer to save to a temporary file location and rename afte done.
|
||||||
buf, err := f.writeToBuffer(indent);
|
buf, err := f.writeToBuffer(indent)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
7
vendor/vendor.json
vendored
7
vendor/vendor.json
vendored
@ -1466,11 +1466,10 @@
|
|||||||
"revisionTime": "2016-04-11T21:29:32Z"
|
"revisionTime": "2016-04-11T21:29:32Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "MMb7aeIRnJq17iQvuGvevymOIYQ=",
|
"checksumSHA1": "RVc+qy5SP9wOZye+2/5LPJg/SHE=",
|
||||||
"origin": "github.com/go-gitea/ini",
|
|
||||||
"path": "gopkg.in/ini.v1",
|
"path": "gopkg.in/ini.v1",
|
||||||
"revision": "88679ba677ac064c7880c9bde81ef5b9fd132e82",
|
"revision": "20b96f641a5ea98f2f8619ff4f3e061cff4833bd",
|
||||||
"revisionTime": "2017-08-04T04:10:12Z"
|
"revisionTime": "2017-08-13T05:15:16Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "7jPSjzw3mckHVQ2SjY4NvtIJR4g=",
|
"checksumSHA1": "7jPSjzw3mckHVQ2SjY4NvtIJR4g=",
|
||||||
|
Loading…
Reference in New Issue
Block a user