MCPcopy Create free account
hub / github.com/cli/cli / Actor

Struct Actor

api/queries_repo.go:161–166  ·  view source on GitHub ↗

Actor is a superset of User and Bot, among others. At the time of writing, some of these fields are not directly supported by the Actor type and instead are only available on the User or Bot types directly.

Source from the content-addressed store, hash-verified

159// instead are only available on the User or Bot types
160// directly.
161type Actor struct {
162 ID string `json:"id"`
163 Login string `json:"login"`
164 Name string `json:"name"`
165 TypeName string `json:"__typename"`
166}
167
168// BranchRef is the branch name in a GitHub repository
169type BranchRef struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected