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