Module code_async

Module code_async 

Source
Expand description

Async code operations for pipeline integration

Wraps the synchronous CodeTools via tokio::task::spawn_blocking for use in async contexts (pipeline, GUI).

Functionsยง

batch_edit
Apply multiple str-replace edits across files.
batch_read
Read multiple files in a single call.
definition
Find the first definition of symbol under root.
deps
Parse Cargo dependencies from the manifest at path.
glob_search
Find files matching pattern under root (glob syntax).
grep
Search file contents under root for lines matching pattern (regex).
lint
Run cargo clippy in path, optionally applying fixes.
map
Generate a repository map for path up to max_depth directory levels.
outline
Return a structured outline of symbols in path.
references
Find all references to symbol under root.
stats_dir
Compute code statistics for path (file or directory).
symbols
Extract top-level symbols from a file.
test
Run cargo test in path, with an optional test name filter.