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

Method IsOrgTargeted

actor/sharedaction/is_org_targeted.go:4–6  ·  view source on GitHub ↗

IsOrgTargeted determines whether an org is being targeted by the CLI

()

Source from the content-addressed store, hash-verified

2
3// IsOrgTargeted determines whether an org is being targeted by the CLI
4func (actor Actor) IsOrgTargeted() bool {
5 return actor.Config.HasTargetedOrganization()
6}

Callers 2

CheckTargetMethod · 0.95
RequireTargetedOrgMethod · 0.95

Implementers 1

FakeActorcommand/v7/v7fakes/fake_actor.go

Calls 1

Tested by

no test coverage detected