Skip to main content

Module list_dir

Module list_dir 

Source
Expand description

Tree-formatted directory listing with optional per-entry annotation.

Pure Rust. The Python wrapper in mcp-methods-py bridges a Python callable into the ListDirOpts::annotate slot.

Structs§

ListDirOpts
Optional knobs for list_dir.

Functions§

list_dir
List directory contents with tree-formatted output.

Type Aliases§

AnnotateFn
Closure signature for ListDirOpts::annotate.