We allow atmost one lang in functions. We can inline in 1.9.
(langs []string)
| 1862 | |
| 1863 | // We allow atmost one lang in functions. We can inline in 1.9. |
| 1864 | func langForFunc(langs []string) string { |
| 1865 | x.AssertTrue(len(langs) <= 1) |
| 1866 | if len(langs) == 0 { |
| 1867 | return "" |
| 1868 | } |
| 1869 | return langs[0] |
| 1870 | } |
| 1871 | |
| 1872 | func checkUidZero(uids []uint64) bool { |
| 1873 | for _, uid := range uids { |
no test coverage detected