MCPcopy Index your code
hub / github.com/coder/coder / newState

Function newState

agent/reconnectingpty/reconnectingpty.go:209–214  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

207}
208
209func 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.

Callers 2

newScreenFunction · 0.85
newBufferedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected