(socket_path: &Path)
| 794 | } |
| 795 | |
| 796 | pub fn unavailable_error(socket_path: &Path) -> TraceDecayError { |
| 797 | TraceDecayError::Config { |
| 798 | message: format!( |
| 799 | "TraceDecay daemon socket '{}' is not available. Run `tracedecay daemon install-service` and ensure the service is running.", |
| 800 | socket_path.display() |
| 801 | ), |
| 802 | } |
| 803 | } |
| 804 | |
| 805 | fn default_available_socket_path() -> Result<PathBuf> { |
| 806 | let socket_path = default_socket_path()?; |
no outgoing calls
no test coverage detected