MCPcopy Index your code
hub / github.com/cortesi/modd / collectValues

Method collectValues

conf/parse.go:85–92  ·  view source on GitHub ↗
(types ...itemType)

Source from the content-addressed store, hash-verified

83}
84
85func (p *parser) collectValues(types ...itemType) []string {
86 items := p.collect(types...)
87 ret := make([]string, len(items))
88 for i, v := range items {
89 ret[i] = v.val
90 }
91 return ret
92}
93
94// Collects an arbitrary number of patterns, and returns a (watch, exclude,
95// NoCommonFilter) tuple.

Callers 1

parseBlockMethod · 0.95

Calls 1

collectMethod · 0.95

Tested by

no test coverage detected