returns a Unix-style path for the remote socket (using fmt.Sprintf instead of filepath.Join because this path is for a remote Unix system, not the local OS which might be Windows)
(clientId string)
| 186 | // returns a Unix-style path for the remote socket (using fmt.Sprintf instead of filepath.Join |
| 187 | // because this path is for a remote Unix system, not the local OS which might be Windows) |
| 188 | func GetPersistentRemoteSockName(clientId string) string { |
| 189 | return fmt.Sprintf("~/.waveterm/client/%s/waveterm.sock", clientId) |
| 190 | } |
| 191 | |
| 192 | func EnsureWaveDataDir() error { |
| 193 | return CacheEnsureDir(GetWaveDataDir(), "wavehome", 0700, "wave home directory") |
no outgoing calls
no test coverage detected