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

Method parse

src/sessions/providers.rs:29–42  ·  view source on GitHub ↗
(value: &str)

Source from the content-addressed store, hash-verified

27 }
28
29 pub fn parse(value: &str) -> Option<Self> {
30 match value {
31 "cursor" => Some(Self::Cursor),
32 "claude" => Some(Self::Claude),
33 "codex" => Some(Self::Codex),
34 "vibe" => Some(Self::Vibe),
35 "cline" => Some(Self::Cline),
36 "roo-code" => Some(Self::RooCode),
37 "kilo" => Some(Self::Kilo),
38 "kiro" => Some(Self::Kiro),
39 "hermes" => Some(Self::Hermes),
40 _ => None,
41 }
42 }
43}
44
45pub const MESSAGE_SEARCH_PROVIDER_IDS: &[&str] = &[

Callers 15

git_rev_list_countFunction · 0.45
parseFunction · 0.45
parse_fileFunction · 0.45
parse_utc_offsetFunction · 0.45
parse_fixed_i32Function · 0.45
parse_fixed_u32Function · 0.45
summary_source_refsMethod · 0.45
parse_git_log_commitsFunction · 0.45
insert_atMethod · 0.45

Calls

no outgoing calls

Tested by 6

parse_metrics_lineFunction · 0.36
rust_fn_complexityFunction · 0.36
parse_java_methodFunction · 0.36
parse_kotlin_functionFunction · 0.36
loadBundledTableFunction · 0.36