MCPcopy
hub / github.com/cli/cli / Write

Method Write

pkg/cmd/cache/list/list_test.go:360–366  ·  view source on GitHub ↗
(io *iostreams.IOStreams, data interface{})

Source from the content-addressed store, hash-verified

358}
359
360func (e *verboseExporter) Write(io *iostreams.IOStreams, data interface{}) error {
361 _, err := io.Out.Write([]byte(fmt.Sprintf("%+v", data)))
362 if err != nil {
363 return err
364 }
365 return nil
366}
367
368func Test_humanFileSize(t *testing.T) {
369 tests := []struct {

Callers

nothing calls this directly

Calls 1

WriteMethod · 0.65

Tested by

no test coverage detected