MCPcopy Create free account
hub / github.com/docker/secrets-engine / writeLine

Function writeLine

x/ipc/hijack_test.go:104–107  ·  view source on GitHub ↗
(conn io.Writer, line string)

Source from the content-addressed store, hash-verified

102}
103
104func writeLine(conn io.Writer, line string) error {
105 _, err := conn.Write([]byte(line + "\r\n"))
106 return err
107}
108
109func requestHealthCheck(socketPath string) (string, error) {
110 conn, err := net.Dial("unix", socketPath)

Callers 1

Test_hijackingFunction · 0.85

Calls 1

WriteMethod · 0.45

Tested by

no test coverage detected