MCPcopy Index your code
hub / github.com/abiosoft/ishell / ReadPassword

Method ReadPassword

actions.go:21–21  ·  view source on GitHub ↗

ReadPassword reads password from standard input without echoing the characters. Note that this only works as expected when the standard input is a terminal.

()

Source from the content-addressed store, hash-verified

19 // ReadPassword reads password from standard input without echoing the characters.
20 // Note that this only works as expected when the standard input is a terminal.
21 ReadPassword() string
22 // ReadPasswordErr is ReadPassword but returns error as well
23 ReadPasswordErr() (string, error)
24 // ReadMultiLinesFunc reads multiple lines from standard input. It passes each read line to

Callers 2

readPasswordErrMethod · 0.65
mainFunction · 0.65

Implementers 1

Calls

no outgoing calls

Tested by

no test coverage detected