MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / for_current_client

Method for_current_client

src/daemon.rs:215–230  ·  view source on GitHub ↗
(
        project_path: Option<PathBuf>,
        scope_prefix: Option<String>,
        timings: bool,
        allow_init: bool,
    )

Source from the content-addressed store, hash-verified

213
214impl 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 {

Callers

nothing calls this directly

Calls 1

binary_versionFunction · 0.85

Tested by

no test coverage detected