Skip to content

Commit

Permalink
Delint.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjkw31 committed Oct 1, 2024
1 parent 10961b2 commit 6fc28ca
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions summary/usergroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,8 @@ func (u *Usergroup) Output(output StringCloser) error {
// outputGroupDirectorySummariesForUser sortes the groups for this user and
// calls outputDirectorySummariesForGroup.
func outputGroupDirectorySummariesForUser(output StringCloser, username string,
gStore groupStore, gidLookupCache map[uint32]string) error {
gStore groupStore, gidLookupCache map[uint32]string,
) error {
groupnames, dStores := gStore.sort(gidLookupCache)

for i, groupname := range groupnames {
Expand All @@ -328,7 +329,8 @@ func outputDirectorySummariesForGroup(output StringCloser, username, groupname s
dirs, summaries := dStore.sort()

for i, s := range summaries {
_, errw := output.WriteString(fmt.Sprintf("%s\t%s\t%s\t%d\t%d\n", username, groupname, encode.Base64Encode(dirs[i]), s.count, s.size))
_, errw := output.WriteString(fmt.Sprintf("%s\t%s\t%s\t%d\t%d\n",
username, groupname, encode.Base64Encode(dirs[i]), s.count, s.size))
if errw != nil {
return errw
}
Expand Down

0 comments on commit 6fc28ca

Please sign in to comment.