- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for groupRetry (0.17 sec)
-
src/os/user/cgo_listgroups_unix.go
// we need to use different logic for Mac vs. the other OS's. if err := groupRetry(u.Username, nameC, userGID, &gidsC, &n); err != nil { return nil, err } } gidsC = gidsC[:n] gids := make([]string, 0, n) for _, g := range gidsC[:n] { gids = append(gids, strconv.Itoa(int(g))) } return gids, nil } // groupRetry retries getGroupList with much larger size for n. The result is // stored in gids.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 11 04:31:34 UTC 2022 - 1.7K bytes - Viewed (0)