MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / GetRemoteJobFilePath

Function GetRemoteJobFilePath

pkg/wavebase/wavebase.go:486–489  ·  view source on GitHub ↗

job file path on remote machine

(jobId string, extension string)

Source from the content-addressed store, hash-verified

484
485// job file path on remote machine
486func GetRemoteJobFilePath(jobId string, extension string) string {
487 jobDir := GetRemoteJobLogDir()
488 return filepath.Join(jobDir, fmt.Sprintf("%s.%s", jobId, extension))
489}
490
491// job file dir on remote machines
492func GetRemoteJobLogDir() string {

Callers 1

daemonizeFunction · 0.92

Calls 1

GetRemoteJobLogDirFunction · 0.85

Tested by

no test coverage detected