job socket path on remote machine
(jobId string)
| 478 | |
| 479 | // job socket path on remote machine |
| 480 | func 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 |
| 486 | func GetRemoteJobFilePath(jobId string, extension string) string { |
no outgoing calls
no test coverage detected