MCPcopy Create free account
hub / github.com/anchordotdev/cli / personalOrgAPID

Method personalOrgAPID

lcl/clean.go:70–76  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

68}
69
70func (c LclClean) personalOrgAPID(ctx context.Context) (string, error) {
71 userInfo, err := c.anc.UserInfo(ctx)
72 if err != nil {
73 return "", err
74 }
75 return userInfo.PersonalOrg.Slug, nil
76}
77
78func (c LclClean) localhostRealmAPID() (string, error) {
79 return "localhost", nil

Callers 1

runMethod · 0.95

Calls 1

UserInfoMethod · 0.80

Tested by

no test coverage detected