MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,572 in github.com/cli/cli

MethodUnqualifiedHeadRef
()
pkg/cmd/pr/create/create.go:154
MethodUnqualifiedHeadRef
()
pkg/cmd/pr/create/create.go:177
MethodUnwrap
()
script/ghmock/main.go:182
MethodUnwrap
()
git/errors.go:20
MethodUnwrap
()
git/errors.go:37
MethodUnwrap
()
pkg/cmdutil/errors.go:30
MethodUnwrap
()
pkg/cmd/event/listen/listen.go:289
MethodUnwrap
()
internal/attachments/client.go:201
MethodUnwrap
()
internal/barista/observability/telemetry.twirp.go:841
MethodUnwrap
()
internal/barista/observability/telemetry.twirp.go:881
MethodUpdate
Update calls UpdateFunc.
pkg/cmd/discussion/client/client_mock.go:724
MethodUpdate
Update updates a discussion's fields and/or labels. If field updates succeed but the label mutation fails, the returned discussion is non-nil (reflect
pkg/cmd/discussion/client/client.go:1026
MethodUpdate
Update calls UpdateFunc.
pkg/cmd/issue/artifact/client/client_mock.go:360
MethodUpdate
Update sends only the fields it changes, since the API keeps any field a request leaves out.
pkg/cmd/issue/artifact/client/client.go:182
MethodUpdate
(msg tea.Msg)
pkg/cmd/extension/browse/model.go:145
MethodUpdate
(msg tea.Msg)
internal/prompter/multi_select_with_search.go:219
MethodUpdateAvailable
UpdateAvailable calls UpdateAvailableFunc.
pkg/extensions/extension_mock.go:376
MethodUpdateAvailableCalls
UpdateAvailableCalls gets all the calls that were made to UpdateAvailable. Check the length with: len(mockedExtension.UpdateAvailableCalls())
pkg/extensions/extension_mock.go:392
MethodUpdateBranch
(b, r string)
pkg/cmd/repo/sync/mocks.go:12
MethodUpdateCalls
UpdateCalls gets all the calls that were made to Update. Check the length with: len(mockedDiscussionClient.UpdateCalls())
pkg/cmd/discussion/client/client_mock.go:745
MethodUpdateComment
UpdateComment calls UpdateCommentFunc.
pkg/cmd/discussion/client/client_mock.go:760
MethodUpdateComment
UpdateComment updates the body of an existing discussion comment or reply.
pkg/cmd/discussion/client/client.go:1159
MethodUpdateCommentCalls
UpdateCommentCalls gets all the calls that were made to UpdateComment. Check the length with: len(mockedDiscussionClient.UpdateCommentCalls())
pkg/cmd/discussion/client/client_mock.go:783
MethodUpdateDir
(_ string)
cmd/gen-docs/main.go:132
MethodUpdateDirCalls
UpdateDirCalls gets all the calls that were made to UpdateDir. Check the length with: len(mockedExtensionManager.UpdateDirCalls())
pkg/extensions/manager_mock.go:404
MethodUpdatePortVisibility
UpdatePortVisibility changes the visibility (private, org, public) of the specified port.
internal/codespaces/portforwarder/port_forwarder.go:267
MethodUpgrade
(name string, force bool)
pkg/cmd/extension/manager.go:460
MethodUpgrade
Upgrade calls UpgradeFunc.
pkg/extensions/manager_mock.go:417
MethodUpgrade
(_ string, _ bool)
cmd/gen-docs/main.go:114
MethodUploadTarget
UploadTarget calls UploadTargetFunc.
pkg/cmd/issue/artifact/client/client_mock.go:408
MethodUploadTarget
(repo ghrepo.Interface, number int)
pkg/cmd/issue/artifact/client/client.go:73
MethodUpsertDimensions
(dimensions ghtelemetry.Dimensions)
internal/telemetry/fake.go:55
MethodUpsertDimensions
(dimensions ghtelemetry.Dimensions)
internal/telemetry/telemetry.go:373
MethodUpsertDimensions
(ghtelemetry.Dimensions)
internal/telemetry/telemetry.go:492
MethodUpsertMeasures
(measures ghtelemetry.Measures)
internal/telemetry/fake.go:62
MethodUpsertMeasures
(measures ghtelemetry.Measures)
internal/telemetry/telemetry.go:386
MethodUpsertMeasures
(ghtelemetry.Measures)
internal/telemetry/telemetry.go:493
MethodUsersForHost
(hostname string)
pkg/cmd/auth/shared/login_flow_test.go:46
MethodVerify
([]*api.Attestation, verify.PolicyBuilder)
pkg/cmd/attestation/verification/mock_verifier.go:21
MethodVerify
([]*api.Attestation, verify.PolicyBuilder)
pkg/cmd/attestation/verification/mock_verifier.go:64
MethodVerify
()
internal/prompter/test.go:126
MethodVerifyAttestation
(art *artifact.DigestedArtifact, att *api.Attestation)
pkg/cmd/release/shared/attestation.go:32
MethodVerifyAttestation
(art *artifact.DigestedArtifact, att *api.Attestation)
pkg/cmd/release/shared/attestation.go:124
MethodVersion
Version returns the current schema version of the configuration.
internal/gh/gh.go:85
MethodVersion
Version calls VersionFunc.
internal/gh/mock/config.go:918
MethodVersionCalls
VersionCalls gets all the calls that were made to Version. Check the length with: len(mockedConfig.VersionCalls())
internal/gh/mock/config.go:934
MethodView
(repo ghrepo.Interface, id string)
pkg/cmd/repo/autolink/delete/delete_test.go:117
MethodView
(repo ghrepo.Interface, id string)
pkg/cmd/repo/autolink/view/view_test.go:104
MethodView
()
pkg/cmd/extension/browse/model.go:364
MethodView
()
internal/prompter/multi_select_with_search.go:313
MethodWarnings
()
internal/ghcmd/cmd_test.go:708
MethodWarnings
Warnings returns the deduplicated warnings recorded so far in this process, such as a skipped token refresh, in the order they were first recorded. Ca
internal/config/config.go:290
MethodWithHeight
(height int)
internal/prompter/multi_select_with_search.go:449
MethodWithKeyMap
(k *huh.KeyMap)
internal/prompter/multi_select_with_search.go:439
MethodWithPosition
(p huh.FieldPosition)
internal/prompter/multi_select_with_search.go:454
FunctionWithStdin
(stdin io.Reader)
git/command.go:85
FunctionWithStdout
(stdout io.Writer)
git/command.go:79
MethodWorktrees
Worktrees lists the repository's worktrees by parsing the output of `git worktree list --porcelain`.
git/client.go:262
MethodWorktrees
()
pkg/cmd/repo/sync/git.go:38
MethodWorktrees
()
pkg/cmd/repo/sync/mocks.go:17
MethodWrite
(p []byte)
script/ghmock/terminal.go:90
MethodWrite
(entry *record)
script/api-host-gateway/gateway/main.go:293
MethodWrite
Write serializes data into JSON output written to w. If the object passed as data implements exportable, or if data is a map or slice of exportable ob
pkg/cmdutil/json_flags.go:225
MethodWrite
(p []byte)
pkg/surveyext/editor_test.go:259
MethodWrite
(io *iostreams.IOStreams, data any)
pkg/cmd/cache/list/list_test.go:360
MethodWrite
(io *iostreams.IOStreams, data any)
pkg/cmd/repo/view/view_test.go:750
MethodWrite
(io *iostreams.IOStreams, data any)
pkg/cmd/run/shared/test.go:290
MethodWrite
(d []byte)
pkg/iostreams/iostreams.go:620
MethodWrite
(b []byte)
internal/codespaces/connection/tunnels_api_server_mock.go:477
MethodWrite
Write wraps the underlying ReadWriteCloser's Write method and keeps the session alive with the "output" traffic type.
internal/codespaces/portforwarder/port_forwarder.go:446
MethodWrite
Write calls WriteFunc.
internal/gh/mock/config.go:945
MethodWrite
(p []byte)
api/http_client.go:180
MethodWriteAnswer
(name string, value any)
pkg/cmd/workflow/run/run.go:198
FunctionWriteError
WriteError writes an HTTP response with a valid Twirp error format (code, msg, meta). Useful outside of the Twirp server (e.g. http middleware), but d
internal/barista/observability/telemetry.twirp.go:591
MethodZoom
()
internal/prompter/multi_select_with_search.go:397
Function_CodespaceHost_NotifyCodespaceOfClientActivity_Handler
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
internal/codespaces/rpc/codespace/codespace_host_service.v1_grpc.pb.go:87
Function_CodespaceHost_RebuildContainerAsync_Handler
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
internal/codespaces/rpc/codespace/codespace_host_service.v1_grpc.pb.go:105
Function_JupyterServerHost_GetRunningServer_Handler
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1_grpc.pb.go:73
Function_SshServerHost_StartRemoteServerAsync_Handler
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
internal/codespaces/rpc/ssh/ssh_server_host_service.v1_grpc.pb.go:73
Methodactor
()
evals/src/core/trial-cleanup.ts:2
Methodactor
()
evals/src/core/executor.ts:249
Methodagent
()
evals/src/core/trial-cleanup.ts:3
Methodagent
()
evals/src/core/executor.ts:250
FunctionbaseRepoStubFn
()
pkg/cmd/secret/shared/base_repo_test.go:206
FunctioncheckForExtensionUpdate
(em extensions.ExtensionManager, ext extensions.Extension)
pkg/cmd/root/extension.go:93
FunctionclearNonblocking
(*os.File)
internal/safepaths/open_nonblock_other.go:11
Methodclient
()
evals/src/core/executor.ts:180
Methodclone
()
pkg/cmd/pr/shared/editable.go:312
Methodclone
()
pkg/cmd/pr/shared/editable.go:342
Methodclone
()
pkg/cmd/pr/shared/editable.go:349
Methodclone
()
pkg/cmd/pr/shared/editable.go:356
Methodconstructor
(readonly status: number, method: string, path: string, message: string, readonly retryAfterMs?: number)
evals/src/core/github.ts:24
Methodconstructor
( private readonly token: string, private readonly request: typeof fetch = fetch, private readonly
evals/src/core/github.ts:39
Methodconstructor
(private readonly suites: SuiteRegistry)
evals/src/core/executor.ts:61
Methodconstructor
( private readonly disabledBuiltins: string[], options: ConstructorParameters<typeof CopilotClient>[0]
evals/src/core/home.ts:13
Methodconstructor
( private readonly calls: Call[], private readonly changed: (call: Call, phase: "start" | "output" | "
evals/src/core/observer.ts:27
Methodconstructor
( private readonly actor: Tickable<A>, private readonly changed: (actions: A[]) => Promise<void>,
evals/src/core/actor.ts:15
Methodconstructor
( private readonly review: TextReview, private readonly checks: readonly Grader[], private readonl
evals/src/graders/review.ts:28
Methodconstructor
( private readonly github: EventsGitHub, private readonly reviewer: EventsGitHub, readonly fixture
evals/src/suites/events/actor.ts:21
Methodconstructor
(private readonly evidenceFor: EvidenceFor)
evals/src/suites/events/grading/task.ts:8
← previousnext →7,301–7,400 of 7,572, ranked by callers