(a, b [8]bool)
| 114 | } |
| 115 | |
| 116 | func combineButtons(a, b [8]bool) [8]bool { |
| 117 | var result [8]bool |
| 118 | for i := 0; i < 8; i++ { |
| 119 | result[i] = a[i] || b[i] |
| 120 | } |
| 121 | return result |
| 122 | } |
| 123 | |
| 124 | func hashFile(path string) (string, error) { |
| 125 | data, err := ioutil.ReadFile(path) |
no outgoing calls
no test coverage detected