MCPcopy
hub / github.com/cloudfoundry/cli / GetHumanReadableOrigin

Function GetHumanReadableOrigin

actor/v7action/user.go:100–106  ·  view source on GitHub ↗
(user resources.User)

Source from the content-addressed store, hash-verified

98}
99
100func GetHumanReadableOrigin(user resources.User) string {
101 if user.Origin == "" {
102 return "client"
103 }
104
105 return user.Origin
106}

Callers 3

displayRoleGroupMethod · 0.92
displayRoleGroupMethod · 0.92
user_test.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected