MCPcopy Index your code
hub / github.com/codag-megalith/codag-drain

github.com/codag-megalith/codag-drain @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
281 symbols 875 edges 26 files 77 documented · 27%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

Grouper (Interface)
A grouper assigns each line to a group. [3 implementers]
codag-drain/src/compress/grouper.rs

Core symbols most depended-on inside this repo

len
called by 82
codag-drain/src/stream.rs
push
called by 58
codag-drain/src/stream.rs
as_str
called by 33
drain3_rust/src/cluster.rs
is_empty
called by 22
codag-drain/src/stream.rs
add_log_message
called by 22
drain3_rust/src/drain.rs
template_logs
called by 14
codag-drain/src/compress.rs
v
called by 14
codag-drain/src/compress/template.rs
insert
called by 13
drain3_rust/src/storage.rs

Shape

Function 181
Method 59
Class 33
Enum 7
Interface 1

Languages

Rust100%

Modules by API surface

codag-drain/tests/eval_loghub.rs29 symbols
codag-drain/src/compress.rs28 symbols
codag-drain/src/compress/grouper.rs27 symbols
codag-drain/src/compress/template.rs24 symbols
examples/server/tests/integration.rs21 symbols
drain3_rust/src/drain.rs20 symbols
examples/server/src/routes.rs14 symbols
drain3_rust/src/tests.rs14 symbols
codag-drain/src/stream.rs14 symbols
codag-drain/src/compress/profile.rs14 symbols
codag-drain/src/input.rs13 symbols
codag-drain/src/compress/lex.rs12 symbols

For agents

$ claude mcp add codag-drain \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact