MCPcopy
hub / github.com/cortesi/devd / Write

Method Write

slowdown/slowdown.go:93–95  ·  view source on GitHub ↗

Write writes data to the connection. Write can be made to time out and return a Error with Timeout() == true after a fixed time limit; see SetDeadline and SetWriteDeadline.

(b []byte)

Source from the content-addressed store, hash-verified

91// Write can be made to time out and return a Error with Timeout() == true
92// after a fixed time limit; see SetDeadline and SetWriteDeadline.
93func (sc *SlowConn) Write(b []byte) (n int, err error) {
94 return sc.writer.Write(b)
95}
96
97// Close closes the connection.
98// Any blocked Read or Write operations will be unblocked and return errors.

Callers 2

WriteMethod · 0.45
ServeScriptMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected