MCPcopy Create free account
hub / github.com/dropbox/dbxcli / teamMemberAddStatus

Function teamMemberAddStatus

cmd/team_json.go:286–299  ·  view source on GitHub ↗
(res *team.MembersAddLaunch)

Source from the content-addressed store, hash-verified

284}
285
286func teamMemberAddStatus(res *team.MembersAddLaunch) string {
287 if res == nil {
288 return teamJSONStatusCompleted
289 }
290 if res.Tag != "complete" {
291 return teamJSONStatusStarted
292 }
293 for _, item := range res.Complete {
294 if item != nil && item.Tag != "success" {
295 return teamJSONStatusCompleted
296 }
297 }
298 return teamJSONStatusAdded
299}
300
301func teamMemberRemoveStatus(res *async.LaunchEmptyResult) string {
302 if res == nil {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected