(files []os.DirEntry, name string)
| 49 | } |
| 50 | |
| 51 | func hasFile(files []os.DirEntry, name string) bool { |
| 52 | for _, f := range files { |
| 53 | if f.Name() == name { |
| 54 | return true |
| 55 | } |
| 56 | } |
| 57 | return false |
| 58 | } |
| 59 | |
| 60 | // loadTLSConfig reads the directory for TLS certificates including roots and |
| 61 | // certificate pairs, and updates the provided TLS configuration. |
no test coverage detected
searching dependent graphs…