MCPcopy Create free account
hub / github.com/DOSNetwork/core / getPassword

Function getPassword

main.go:100–106  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

98}
99
100func getPassword(s string) (p string) {
101 fmt.Print(s)
102 bytePassword, _ := terminal.ReadPassword(0)
103 p = strings.TrimSpace(string(bytePassword))
104 fmt.Println("")
105 return
106}
107
108func actionStart(c *cli.Context) (err error) {
109 password := ""

Callers 3

getkeyFunction · 0.85
actionStartFunction · 0.85
createWalletFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected