MCPcopy
hub / github.com/wavetermdev/waveterm / GetRemoteJobSocketPath

Function GetRemoteJobSocketPath

pkg/wavebase/wavebase.go:480–483  ·  view source on GitHub ↗

job socket path on remote machine

(jobId string)

Source from the content-addressed store, hash-verified

478
479// job socket path on remote machine
480func GetRemoteJobSocketPath(jobId string) string {
481 socketDir := filepath.Join("/tmp", fmt.Sprintf("waveterm-%d", os.Getuid()))
482 return filepath.Join(socketDir, fmt.Sprintf("%s.sock", jobId))
483}
484
485// job file path on remote machine
486func GetRemoteJobFilePath(jobId string, extension string) string {

Callers 2

connectToJobManagerMethod · 0.92
MakeJobDomainSocketFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected