MCPcopy
hub / github.com/cli/cli / Follow

Method Follow

pkg/cmd/agent-task/shared/log.go:19–19  ·  view source on GitHub ↗
(fetcher func() ([]byte, error), w io.Writer, io *iostreams.IOStreams)

Source from the content-addressed store, hash-verified

17
18type LogRenderer interface {
19 Follow(fetcher func() ([]byte, error), w io.Writer, io *iostreams.IOStreams) error
20 Render(logs []byte, w io.Writer, io *iostreams.IOStreams) (stop bool, err error)
21}
22

Callers 3

printLogsFunction · 0.65
TestFollowFunction · 0.65
followLogsFunction · 0.65

Implementers 2

logRendererpkg/cmd/agent-task/shared/log.go
LogRendererMockpkg/cmd/agent-task/shared/log_mock.go

Calls

no outgoing calls

Tested by 1

TestFollowFunction · 0.52