MCPcopy
hub / github.com/harness/harness / ScannerWithPeek

Struct ScannerWithPeek

git/parser/scanner.go:69–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69type ScannerWithPeek struct {
70 peeked bool
71 peekedScanOut bool
72
73 nextLine []byte
74 nextErr error
75
76 scanner *bufio.Scanner
77}
78
79func (s *ScannerWithPeek) scan() bool {
80 scanOut := s.scanner.Scan()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected