(out io.Writer)
| 55 | } |
| 56 | |
| 57 | func askForExistingRepositoryPassword(out io.Writer) (string, error) { |
| 58 | p1, err := askPass(out, "Enter password to open repository: ") |
| 59 | if err != nil { |
| 60 | return "", err |
| 61 | } |
| 62 | |
| 63 | fmt.Fprintln(out) //nolint:errcheck |
| 64 | |
| 65 | return p1, nil |
| 66 | } |
| 67 | |
| 68 | func (c *App) setPasswordFromToken(pwd string) { |
| 69 | c.password = pwd |
no test coverage detected