Beispiel #1
0
func (self *FinderNode) CommandString() string {
	// ummm: what about excludes?
	result := make([]string, len(self.includes))
	for i, pattern := range self.includes {
		result[i] = types.ShellQuote(pattern)
	}
	return strings.Join(result, " ")
}
Beispiel #2
0
func (self *nodebase) CommandString() string {
	return types.ShellQuote(self.name)
}