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

Method ListLatestSessionsForViewer

pkg/cmd/agent-task/capi/client.go:16–16  ·  view source on GitHub ↗
(ctx context.Context, limit int)

Source from the content-addressed store, hash-verified

14// may be replaced with test doubles in unit tests.
15type CapiClient interface {
16 ListLatestSessionsForViewer(ctx context.Context, limit int) ([]*Session, error)
17 CreateJob(ctx context.Context, owner, repo, problemStatement, baseBranch string, customAgent string) (*Job, error)
18 GetJob(ctx context.Context, owner, repo, jobID string) (*Job, error)
19 GetSession(ctx context.Context, id string) (*Session, error)

Callers 1

listRunFunction · 0.65

Implementers 2

CAPIClientpkg/cmd/agent-task/capi/client.go
CapiClientMockpkg/cmd/agent-task/capi/client_mock.go

Calls

no outgoing calls

Tested by

no test coverage detected