mirror of
https://github.com/restic/restic.git
synced 2026-11-21 21:12:42 +00:00
Add codespell support with configuration and fixes (#21807)
Co-authored-by: Claude Code 2.1.142 / Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
1 parent
c221cd06ad
commit
451cc6c048
13 files changed
+63
-11
No files matched your search
@@ -14,7 +14,7 @@ import (
|
||||
|
||||
// UidGidInt returns uid, gid of the user as a number.
|
||||
//
|
||||
//nolint:revive // captialization is correct as is
|
||||
//nolint:revive // capitalization is correct as is
|
||||
func UidGidInt(u *user.User) (uid, gid uint32, err error) {
|
||||
ui, err := strconv.ParseUint(u.Uid, 10, 32)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user