(ctx context.Context, co *connectOptions, st blob.Storage)
| 115 | } |
| 116 | |
| 117 | func (c *App) runConnectCommandWithStorage(ctx context.Context, co *connectOptions, st blob.Storage) error { |
| 118 | pass, err := c.getPasswordFromFlags(ctx, false, false) |
| 119 | if err != nil { |
| 120 | return errors.Wrap(err, "getting password") |
| 121 | } |
| 122 | |
| 123 | return c.runConnectCommandWithStorageAndPassword(ctx, co, st, pass) |
| 124 | } |
| 125 | |
| 126 | func (c *App) runConnectCommandWithStorageAndPassword(ctx context.Context, co *connectOptions, st blob.Storage, password string) error { |
| 127 | configFile := c.repositoryConfigFileName() |
nothing calls this directly
no test coverage detected