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

Method Write

pkg/cmd/repo/view/view_test.go:750–755  ·  view source on GitHub ↗
(io *iostreams.IOStreams, data any)

Source from the content-addressed store, hash-verified

748}
749
750func (e *testExporter) Write(io *iostreams.IOStreams, data any) error {
751 r := data.(*api.Repository)
752 fmt.Fprintf(io.Out, "name: %s\n", r.Name)
753 fmt.Fprintf(io.Out, "defaultBranchRef: %s\n", r.DefaultBranchRef.Name)
754 return nil
755}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected