MCPcopy Create free account
hub / github.com/angular/dev-infra / CheckOrStatusResult

Interface CheckOrStatusResult

ng-dev/utils/git/github-macros.ts:27–32  ·  view source on GitHub ↗

Shared base object for a derived Check or Status result.

Source from the content-addressed store, hash-verified

25 * and whether the specified user is a member of the `googlers` organization.
26 */
27async function verifyGooglerOrgMembership(
28 client: AuthenticatedGithubClient,
29 username: string,
30): Promise<GooglerOrgVerificationResult> {
31 try {
32 const response = await client.orgs.checkMembershipForUser({org: 'googlers', username});
33 if (response.url?.includes('/public_members/')) {
34 return {isMember: true, canVerifyOrg: false};
35 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected