MCPcopy
hub / github.com/FiloSottile/age / Close

Method Close

plugin/client.go:475–481  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

473}
474
475func (cc *clientConnection) Close() error {
476 // Close stdin and stdout and send SIGINT (if supported) to the plugin,
477 // then wait for it to cleanup and exit.
478 cc.close()
479 cc.cmd.Process.Signal(os.Interrupt)
480 return cc.cmd.Wait()
481}
482
483func writeStanza(conn io.Writer, t string, args ...string) error {
484 s := &format.Stanza{Type: t, Args: args}

Callers 5

TestNotFoundFunction · 0.45
TestPluginErrorFunction · 0.45
WrapWithLabelsMethod · 0.45
UnwrapMethod · 0.45
openClientConnectionFunction · 0.45

Calls

no outgoing calls

Tested by 2

TestNotFoundFunction · 0.36
TestPluginErrorFunction · 0.36