get_src_tree
Generate a JSON file tree from a specified directory, filtering files based on .gitignore rules. Preserve hierarchy for easy project structure review and analysis.
Instructions
Generate a file tree for the specified directory, filtering files based on .gitignore. Traverses the filesystem and generates a JSON-formatted tree structure that preserves hierarchy.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
directory | Yes |