(
project_path: Option<PathBuf>,
scope_prefix: Option<String>,
timings: bool,
allow_init: bool,
)
| 213 | |
| 214 | impl DaemonHandshake { |
| 215 | pub fn for_current_client( |
| 216 | project_path: Option<PathBuf>, |
| 217 | scope_prefix: Option<String>, |
| 218 | timings: bool, |
| 219 | allow_init: bool, |
| 220 | ) -> Result<Self> { |
| 221 | Ok(Self { |
| 222 | project_path, |
| 223 | scope_prefix, |
| 224 | timings, |
| 225 | allow_init, |
| 226 | allow_initialize_root_routing: false, |
| 227 | client_identity: DaemonClientIdentity::current()?, |
| 228 | client_version: binary_version().to_string(), |
| 229 | }) |
| 230 | } |
| 231 | |
| 232 | fn open_options(&self) -> crate::tracedecay::TraceDecayOpenOptions { |
| 233 | crate::tracedecay::TraceDecayOpenOptions { |
nothing calls this directly
no test coverage detected