MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / Write

Method Write

core/utils/terminal/local_cmd.go:60–62  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

58}
59
60func (lcmd *LocalCommand) Write(p []byte) (n int, err error) {
61 return lcmd.pty.Write(p)
62}
63
64func (lcmd *LocalCommand) Close() error {
65 if lcmd.cmd != nil && lcmd.cmd.Process != nil {

Callers 1

NewCommandFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected