MCPcopy Create free account
hub / github.com/dim-an/cod / getShellInfo

Method getShellInfo

server/server.go:644–650  ·  view source on GitHub ↗
(pid int)

Source from the content-addressed store, hash-verified

642}
643
644func (s *serverImpl) getShellInfo(pid int) (info *shellInfo, err error) {
645 info, ok := s.shellInfoMap[pid]
646 if !ok {
647 err = fmt.Errorf("unknown pid: %v", pid)
648 }
649 return
650}
651
652func (s *serverImpl) waitPidProc(pid int) {
653 for {

Callers 2

handleInitScriptMethod · 0.95
handlePollUpdatesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected