Ejemplo n.º 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, " ")
}
Ejemplo n.º 2
0
Archivo: node.go Proyecto: sbinet/fubsy
func (self *nodebase) CommandString() string {
	return types.ShellQuote(self.name)
}