Get import dependencies
get_depsMap import dependencies for a file or directory to reveal what it imports and what depends on it, supporting impact analysis before refactoring.
Instructions
Import graph for one file OR a whole directory/package: what it imports and who imports it. Directory mode aggregates edges (N files -> target). Use for impact analysis before refactoring ("what breaks if I change this package?").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File or directory path relative to the repo root. | |
| direction | No | Which edges to show. | both |