You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/doctor
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551)
Found using
`find . -type f -name '*.go' -print -exec vim {} -c
':%s/fmt\.Errorf(\(.*\)%v\(.*\)err/fmt.Errorf(\1%w\2err/g' -c ':wq' \;`

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2 years ago
..
authorizedkeys.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
breaking.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
checkOldArchives.go Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2 years ago
dbconsistency.go Move some files into models' sub packages (#20262) 2 years ago
dbversion.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
doctor.go Fix git.Init for doctor sub-command (#20782) 2 years ago
fix16961.go Add more linters to improve code readability (#19989) 2 years ago
fix16961_test.go Move repository model into models/repo (#17933) 3 years ago
heads.go Refactor git command arguments and make all arguments to be safe to be used (#21535) 2 years ago
mergebase.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
misc.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
paths.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
storage.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
usertype.go Move some files into models' sub packages (#20262) 2 years ago