()
| 139 | } |
| 140 | |
| 141 | func (c *cliConnection) GetCurrentSpace() (plugin_models.Space, error) { |
| 142 | var result plugin_models.Space |
| 143 | |
| 144 | err := c.withClientDo(func(client *rpc.Client) error { |
| 145 | return client.Call("CliRpcCmd.GetCurrentSpace", "", &result) |
| 146 | }) |
| 147 | |
| 148 | return result, err |
| 149 | } |
| 150 | |
| 151 | func (c *cliConnection) Username() (string, error) { |
| 152 | var result string |
nothing calls this directly
no test coverage detected