MCPcopy Index your code
hub / github.com/rilldata/rill / SetDefaultOrg

Method SetDefaultOrg

cli/pkg/dotrill/dotrill.go:122–124  ·  view source on GitHub ↗

SetDefaultOrg saves the default org

(orgName string)

Source from the content-addressed store, hash-verified

120
121// SetDefaultOrg saves the default org
122func (d DotRill) SetDefaultOrg(orgName string) error {
123 return d.Set(ConfigFilename, DefaultOrgConfigKey, orgName)
124}
125
126// GetBackupDefaultOrg loads the backedup default org
127func (d DotRill) GetBackupDefaultOrg() (string, error) {

Callers 11

SetOrgMethod · 0.80
SelectOrgFlowFunction · 0.80
LogoutFunction · 0.80
createOrgFlowFunction · 0.80
RenameCmdFunction · 0.80
DeleteCmdFunction · 0.80
CreateCmdFunction · 0.80
SwitchCmdFunction · 0.80
SetDefaultOrgFunction · 0.80
UnassumeUserFunction · 0.80

Calls 1

SetMethod · 0.95

Tested by

no test coverage detected