(fileName string, fileList *[]sshConfigFile, priority *int)
| 925 | } |
| 926 | |
| 927 | func registerSSHConfigFile(fileName string, fileList *[]sshConfigFile, priority *int) { |
| 928 | for _, item := range *fileList { |
| 929 | if item.Path == fileName { |
| 930 | return |
| 931 | } |
| 932 | } |
| 933 | *priority++ |
| 934 | *fileList = append(*fileList, sshConfigFile{Path: fileName, Priority: *priority}) |
| 935 | } |
| 936 | |
| 937 | func parseSSHConfigLine(line string) (string, string, bool) { |
| 938 | line = trimSSHInlineComment(line) |
no outgoing calls
no test coverage detected