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/services/repository
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
..
archiver Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
files Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
adopt.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
adopt_test.go format with gofumpt (#18184) 2 years ago
avatar.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
avatar_test.go Refactor AssertExistsAndLoadBean to use generics (#20797) 2 years ago
branch.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
cache.go Slightly simplify LastCommitCache (#20444) 2 years ago
check.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
fork.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
fork_test.go Move some files into models' sub packages (#20262) 2 years ago
hooks.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
main_test.go Use a struct as test options (#19393) 2 years ago
push.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
repository.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
repository_test.go Move some repository related code into sub package (#19711) 2 years ago
review.go Move some repository related code into sub package (#19711) 2 years ago
review_test.go Refactor AssertExistsAndLoadBean to use generics (#20797) 2 years ago
template.go Remove manual rollback for failed generated repositories (#20639) 2 years ago
transfer.go Move some files into models' sub packages (#20262) 2 years ago
transfer_test.go Move some files into models' sub packages (#20262) 2 years ago