MCPcopy Create free account
hub / github.com/facebook/time / casterWrite

Function casterWrite

cmd/ntripper/main.go:278–280  ·  view source on GitHub ↗

casterWrite wraps an error returned while writing to the caster.

(what string, err error)

Source from the content-addressed store, hash-verified

276 if cfg.rawxStats {
277 sockConn, err := connectSocket(ctx, cfg, logger)
278 if err != nil {
279 return fmt.Errorf("socket: %w", err)
280 }
281 defer sockConn.Close()
282 return rawxStats(ctx, sockConn, logger)
283 }

Callers 2

TestIsWriteErrorFunction · 0.85
streamFramesFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestIsWriteErrorFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…