MCPcopy Create free account
hub / github.com/OpenAtomFoundation/SmartIDE / entryptionKey4Host

Function entryptionKey4Host

cli/cmd/host/host-get.go:64–71  ·  view source on GitHub ↗
(remoteInfo workspace.RemoteInfo)

Source from the content-addressed store, hash-verified

62}
63
64func 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
74func getHostIdFromFlagsAndArgs(cmd *cobra.Command, args []string) int {

Callers 2

host-get.goFile · 0.85
printRemotesFunction · 0.85

Calls 2

AddEntryptionKeyMethod · 0.80

Tested by

no test coverage detected