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

Method Preface

pkg/cmd/api/pagination.go:160–165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

158}
159
160func (w *jsonArrayWriter) Preface() []json.Delim {
161 if w.started {
162 return []json.Delim{'['}
163 }
164 return nil
165}
166
167// ReadFrom implements io.ReaderFrom to write more data than read,
168// which otherwise results in an error from io.Copy().

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected