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

Struct Actor

api/queries_repo.go:162–167  ·  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

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected