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

Function sendGraph

provisioner/terraform/provision_test.go:149–153  ·  view source on GitHub ↗
(sess proto.DRPCProvisioner_SessionClient, source proto.GraphSource)

Source from the content-addressed store, hash-verified

147}
148
149func sendGraph(sess proto.DRPCProvisioner_SessionClient, source proto.GraphSource) error {
150 return sess.Send(&proto.Request{Type: &proto.Request_Graph{Graph: &proto.GraphRequest{
151 Source: source,
152 }}})
153}
154
155// below we exec fake_cancel.sh, which causes the kernel to execute it, and if more than
156// one process tries to do this simultaneously, it can cause "text file busy"

Callers 1

TestTimingsFromProvisionFunction · 0.85

Calls 1

SendMethod · 0.65

Tested by

no test coverage detected