MCPcopy Create free account
hub / github.com/dim-an/cod / skipSpaces

Method skipSpaces

parse_doc/argparse.go:94–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92}
93
94func (l *usageLexer) skipSpaces() {
95 for l.valid {
96 l.curLine = strings.TrimSpace(l.curLine)
97 if len(l.curLine) > 0 {
98 return
99 }
100 if len(l.restLines) > 0 {
101 l.curLine = l.restLines[0]
102 l.restLines = l.restLines[1:]
103 } else {
104 l.valid = false
105 }
106 }
107}
108
109type argparseUsage struct {
110 applicationName string

Callers 1

NextMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected