()
| 803 | } |
| 804 | |
| 805 | fn default_available_socket_path() -> Result<PathBuf> { |
| 806 | let socket_path = default_socket_path()?; |
| 807 | if socket_path.exists() { |
| 808 | Ok(socket_path) |
| 809 | } else { |
| 810 | Err(unavailable_error(&socket_path)) |
| 811 | } |
| 812 | } |
| 813 | |
| 814 | /// How long daemon clients keep retrying a failed connect before giving up. |
| 815 | /// |
no test coverage detected