Lines Matching refs:l
107 func Merge(l, l2 Log) Log { argument
108 if l.BuildBroken == nil {
109 l.BuildBroken = map[string]*bool{}
111 if l.HasBroken == nil {
112 l.HasBroken = map[string]int{}
115 for n, v := range l.BuildBroken {
117 l.BuildBroken[n] = l2.BuildBroken[n]
121 if _, ok := l.BuildBroken[n]; !ok {
122 l.BuildBroken[n] = v
126 for n := range l.HasBroken {
127 if l.HasBroken[n] < l2.HasBroken[n] {
128 l.HasBroken[n] = l2.HasBroken[n]
132 if _, ok := l.HasBroken[n]; !ok {
133 l.HasBroken[n] = l2.HasBroken[n]
137 return l
291 func ScanProduct(settings []Setting, l ProductLog) {
292 stdLog, err := ioutil.ReadFile(filepath.Join(l.Branch, l.Name, "std_full.log"))
301 l.HasBroken[setting.name] += strings.Count(stdStr, warning)