()
| 207 | } |
| 208 | |
| 209 | func newState() *ptyState { |
| 210 | return &ptyState{ |
| 211 | cond: sync.NewCond(&sync.Mutex{}), |
| 212 | state: StateStarting, |
| 213 | } |
| 214 | } |
| 215 | |
| 216 | // setState sets and broadcasts the provided state if it is greater than the |
| 217 | // current state and the error if one has not already been set. |
no outgoing calls
no test coverage detected