示例#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, " ")
}
示例#2
0
文件: node.go 项目: sbinet/fubsy
func (self *nodebase) CommandString() string {
	return types.ShellQuote(self.name)
}