(remoteInfo workspace.RemoteInfo)
| 62 | } |
| 63 | |
| 64 | func entryptionKey4Host(remoteInfo workspace.RemoteInfo) { |
| 65 | if remoteInfo.Password != "" { |
| 66 | common.SmartIDELog.AddEntryptionKey(remoteInfo.Password) |
| 67 | } |
| 68 | if remoteInfo.SSHKey != "" { |
| 69 | common.SmartIDELog.AddEntryptionKeyWithReservePart(remoteInfo.SSHKey) |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | // 获取工作区id |
| 74 | func getHostIdFromFlagsAndArgs(cmd *cobra.Command, args []string) int { |
no test coverage detected