Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ functions
Functions
7,572 in github.com/cli/cli
⨍
Functions
7,572
◇
Types & classes
1,537
Method
UnqualifiedHeadRef
()
pkg/cmd/pr/create/create.go:154
Method
UnqualifiedHeadRef
()
pkg/cmd/pr/create/create.go:177
Method
Unwrap
()
script/ghmock/main.go:182
Method
Unwrap
()
git/errors.go:20
Method
Unwrap
()
git/errors.go:37
Method
Unwrap
()
pkg/cmdutil/errors.go:30
Method
Unwrap
()
pkg/cmd/event/listen/listen.go:289
Method
Unwrap
()
internal/attachments/client.go:201
Method
Unwrap
()
internal/barista/observability/telemetry.twirp.go:841
Method
Unwrap
()
internal/barista/observability/telemetry.twirp.go:881
Method
Update
Update calls UpdateFunc.
pkg/cmd/discussion/client/client_mock.go:724
Method
Update
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
Method
Update
Update calls UpdateFunc.
pkg/cmd/issue/artifact/client/client_mock.go:360
Method
Update
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
Method
Update
(msg tea.Msg)
pkg/cmd/extension/browse/model.go:145
Method
Update
(msg tea.Msg)
internal/prompter/multi_select_with_search.go:219
Method
UpdateAvailable
UpdateAvailable calls UpdateAvailableFunc.
pkg/extensions/extension_mock.go:376
Method
UpdateAvailableCalls
UpdateAvailableCalls gets all the calls that were made to UpdateAvailable. Check the length with: len(mockedExtension.UpdateAvailableCalls())
pkg/extensions/extension_mock.go:392
Method
UpdateBranch
(b, r string)
pkg/cmd/repo/sync/mocks.go:12
Method
UpdateCalls
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
Method
UpdateComment
UpdateComment calls UpdateCommentFunc.
pkg/cmd/discussion/client/client_mock.go:760
Method
UpdateComment
UpdateComment updates the body of an existing discussion comment or reply.
pkg/cmd/discussion/client/client.go:1159
Method
UpdateCommentCalls
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
Method
UpdateDir
(_ string)
cmd/gen-docs/main.go:132
Method
UpdateDirCalls
UpdateDirCalls gets all the calls that were made to UpdateDir. Check the length with: len(mockedExtensionManager.UpdateDirCalls())
pkg/extensions/manager_mock.go:404
Method
UpdatePortVisibility
UpdatePortVisibility changes the visibility (private, org, public) of the specified port.
internal/codespaces/portforwarder/port_forwarder.go:267
Method
Upgrade
(name string, force bool)
pkg/cmd/extension/manager.go:460
Method
Upgrade
Upgrade calls UpgradeFunc.
pkg/extensions/manager_mock.go:417
Method
Upgrade
(_ string, _ bool)
cmd/gen-docs/main.go:114
Method
UploadTarget
UploadTarget calls UploadTargetFunc.
pkg/cmd/issue/artifact/client/client_mock.go:408
Method
UploadTarget
(repo ghrepo.Interface, number int)
pkg/cmd/issue/artifact/client/client.go:73
Method
UpsertDimensions
(dimensions ghtelemetry.Dimensions)
internal/telemetry/fake.go:55
Method
UpsertDimensions
(dimensions ghtelemetry.Dimensions)
internal/telemetry/telemetry.go:373
Method
UpsertDimensions
(ghtelemetry.Dimensions)
internal/telemetry/telemetry.go:492
Method
UpsertMeasures
(measures ghtelemetry.Measures)
internal/telemetry/fake.go:62
Method
UpsertMeasures
(measures ghtelemetry.Measures)
internal/telemetry/telemetry.go:386
Method
UpsertMeasures
(ghtelemetry.Measures)
internal/telemetry/telemetry.go:493
Method
UsersForHost
(hostname string)
pkg/cmd/auth/shared/login_flow_test.go:46
Method
Verify
([]*api.Attestation, verify.PolicyBuilder)
pkg/cmd/attestation/verification/mock_verifier.go:21
Method
Verify
([]*api.Attestation, verify.PolicyBuilder)
pkg/cmd/attestation/verification/mock_verifier.go:64
Method
Verify
()
internal/prompter/test.go:126
Method
VerifyAttestation
(art *artifact.DigestedArtifact, att *api.Attestation)
pkg/cmd/release/shared/attestation.go:32
Method
VerifyAttestation
(art *artifact.DigestedArtifact, att *api.Attestation)
pkg/cmd/release/shared/attestation.go:124
Method
Version
Version returns the current schema version of the configuration.
internal/gh/gh.go:85
Method
Version
Version calls VersionFunc.
internal/gh/mock/config.go:918
Method
VersionCalls
VersionCalls gets all the calls that were made to Version. Check the length with: len(mockedConfig.VersionCalls())
internal/gh/mock/config.go:934
Method
View
(repo ghrepo.Interface, id string)
pkg/cmd/repo/autolink/delete/delete_test.go:117
Method
View
(repo ghrepo.Interface, id string)
pkg/cmd/repo/autolink/view/view_test.go:104
Method
View
()
pkg/cmd/extension/browse/model.go:364
Method
View
()
internal/prompter/multi_select_with_search.go:313
Method
Warnings
()
internal/ghcmd/cmd_test.go:708
Method
Warnings
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
Method
WithHeight
(height int)
internal/prompter/multi_select_with_search.go:449
Method
WithKeyMap
(k *huh.KeyMap)
internal/prompter/multi_select_with_search.go:439
Method
WithPosition
(p huh.FieldPosition)
internal/prompter/multi_select_with_search.go:454
Function
WithStdin
(stdin io.Reader)
git/command.go:85
Function
WithStdout
(stdout io.Writer)
git/command.go:79
Method
Worktrees
Worktrees lists the repository's worktrees by parsing the output of `git worktree list --porcelain`.
git/client.go:262
Method
Worktrees
()
pkg/cmd/repo/sync/git.go:38
Method
Worktrees
()
pkg/cmd/repo/sync/mocks.go:17
Method
Write
(p []byte)
script/ghmock/terminal.go:90
Method
Write
(entry *record)
script/api-host-gateway/gateway/main.go:293
Method
Write
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
Method
Write
(p []byte)
pkg/surveyext/editor_test.go:259
Method
Write
(io *iostreams.IOStreams, data any)
pkg/cmd/cache/list/list_test.go:360
Method
Write
(io *iostreams.IOStreams, data any)
pkg/cmd/repo/view/view_test.go:750
Method
Write
(io *iostreams.IOStreams, data any)
pkg/cmd/run/shared/test.go:290
Method
Write
(d []byte)
pkg/iostreams/iostreams.go:620
Method
Write
(b []byte)
internal/codespaces/connection/tunnels_api_server_mock.go:477
Method
Write
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
Method
Write
Write calls WriteFunc.
internal/gh/mock/config.go:945
Method
Write
(p []byte)
api/http_client.go:180
Method
WriteAnswer
(name string, value any)
pkg/cmd/workflow/run/run.go:198
Function
WriteError
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
Method
Zoom
()
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
Method
actor
()
evals/src/core/trial-cleanup.ts:2
Method
actor
()
evals/src/core/executor.ts:249
Method
agent
()
evals/src/core/trial-cleanup.ts:3
Method
agent
()
evals/src/core/executor.ts:250
Function
baseRepoStubFn
()
pkg/cmd/secret/shared/base_repo_test.go:206
Function
checkForExtensionUpdate
(em extensions.ExtensionManager, ext extensions.Extension)
pkg/cmd/root/extension.go:93
Function
clearNonblocking
(*os.File)
internal/safepaths/open_nonblock_other.go:11
Method
client
()
evals/src/core/executor.ts:180
Method
clone
()
pkg/cmd/pr/shared/editable.go:312
Method
clone
()
pkg/cmd/pr/shared/editable.go:342
Method
clone
()
pkg/cmd/pr/shared/editable.go:349
Method
clone
()
pkg/cmd/pr/shared/editable.go:356
Method
constructor
(readonly status: number, method: string, path: string, message: string, readonly retryAfterMs?: number)
evals/src/core/github.ts:24
Method
constructor
( private readonly token: string, private readonly request: typeof fetch = fetch, private readonly
evals/src/core/github.ts:39
Method
constructor
(private readonly suites: SuiteRegistry)
evals/src/core/executor.ts:61
Method
constructor
( private readonly disabledBuiltins: string[], options: ConstructorParameters<typeof CopilotClient>[0]
evals/src/core/home.ts:13
Method
constructor
( private readonly calls: Call[], private readonly changed: (call: Call, phase: "start" | "output" | "
evals/src/core/observer.ts:27
Method
constructor
( private readonly actor: Tickable<A>, private readonly changed: (actions: A[]) => Promise<void>,
evals/src/core/actor.ts:15
Method
constructor
( private readonly review: TextReview, private readonly checks: readonly Grader[], private readonl
evals/src/graders/review.ts:28
Method
constructor
( private readonly github: EventsGitHub, private readonly reviewer: EventsGitHub, readonly fixture
evals/src/suites/events/actor.ts:21
Method
constructor
(private readonly evidenceFor: EvidenceFor)
evals/src/suites/events/grading/task.ts:8
← previous
next →
7,301–7,400 of 7,572, ranked by callers