()
| 8473 | } |
| 8474 | |
| 8475 | func (cmd *MonitorCmd) Clone() Cmder { |
| 8476 | // MonitorCmd cannot be safely cloned due to channels and goroutines |
| 8477 | // Return a new MonitorCmd with the same channel |
| 8478 | return newMonitorCmd(cmd.ctx, cmd.ch) |
| 8479 | } |
| 8480 | |
| 8481 | // ExtractCommandValue extracts the value from a command result using the fast enum-based approach |
| 8482 | func ExtractCommandValue(cmd interface{}) (interface{}, error) { |
nothing calls this directly
no test coverage detected