MCPcopy Create free account
hub / github.com/OCEChain/OCEChain / GetCheckPassword

Function GetCheckPassword

client/input.go:55–74  ·  view source on GitHub ↗

GetCheckPassword will prompt for a password twice to verify they match (for creating a new password). It enforces the password length. Only parses password once if input is piped in.

(prompt, prompt2 string, buf *bufio.Reader)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

inputIsTtyFunction · 0.85
GetPasswordFunction · 0.85

Tested by

no test coverage detected