()
| 121 | } |
| 122 | |
| 123 | pub(crate) fn tracedecay_bin_on_path() -> tracedecay::errors::Result<String> { |
| 124 | tracedecay::agents::which_tracedecay().ok_or_else(|| { |
| 125 | tracedecay::errors::TraceDecayError::Config { |
| 126 | message: "tracedecay not found on PATH".to_string(), |
| 127 | } |
| 128 | }) |
| 129 | } |
| 130 | |
| 131 | /// How the `post-update` re-exec reacts to the binary-upgrade outcome. |
| 132 | pub(crate) enum RefreshPolicy { |
no test coverage detected