forked from TrueCloudLab/rclone
vendor: update dependencies to latest
This commit is contained in:
parent
58f7141c96
commit
89625e54cf
173 changed files with 4954 additions and 2224 deletions
2
vendor/github.com/Unknwon/goconfig/read.go
generated
vendored
2
vendor/github.com/Unknwon/goconfig/read.go
generated
vendored
|
@ -72,7 +72,7 @@ func (c *ConfigFile) read(reader io.Reader) (err error) {
|
|||
comments += LineBreak + line
|
||||
}
|
||||
continue
|
||||
case line[0] == '[' && line[lineLengh-1] == ']': // New sction.
|
||||
case line[0] == '[' && line[lineLengh-1] == ']': // New section.
|
||||
// Get section name.
|
||||
section = strings.TrimSpace(line[1 : lineLengh-1])
|
||||
// Set section comments and empty if it has comments.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue