MCPcopy
hub / github.com/cli/cli / RegexpWriter

Struct RegexpWriter

pkg/cmd/pr/create/regexp_writer.go:13–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13type RegexpWriter struct {
14 out io.Writer
15 re regexp.Regexp
16 repl string
17 buf []byte
18}
19
20func (s *RegexpWriter) Write(data []byte) (int, error) {
21 if len(data) == 0 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected