MCPcopy Index your code
hub / github.com/cloudfoundry/cli / NewUserRequirement

Method NewUserRequirement

cf/requirements/factory.go:102–108  ·  view source on GitHub ↗
(username string, wantGUID bool)

Source from the content-addressed store, hash-verified

100}
101
102func (f apiRequirementFactory) NewUserRequirement(username string, wantGUID bool) UserRequirement {
103 return NewUserRequirement(
104 username,
105 f.repoLocator.GetUserRepository(),
106 wantGUID,
107 )
108}
109
110func (f apiRequirementFactory) NewClientRequirement(username string) UserRequirement {
111 return NewClientRequirement(

Callers

nothing calls this directly

Calls 2

NewUserRequirementFunction · 0.85
GetUserRepositoryMethod · 0.80

Tested by

no test coverage detected