repo-to-text/repo_to_text
Kirill Markin d124fa24cc
Refactor tree structure generation and filtering logic
- Simplified the `get_tree_structure` function by extracting the tree command execution and filtering into separate functions: `run_tree_command` and `filter_tree_output`.
- Introduced `process_line`, `extract_full_path`, and `mark_non_empty_dirs` to enhance readability and maintainability of the filtering process.
- Updated `load_ignore_specs` to improve loading of ignore specifications from settings and .gitignore files.
- Added clipboard functionality to copy output content after saving.
- Cleaned up and clarified docstrings for better understanding of function purposes.
2024-12-17 17:16:39 +01:00
..
cli linter cleanup 2024-12-17 14:41:42 +01:00
core Refactor tree structure generation and filtering logic 2024-12-17 17:16:39 +01:00
utils remove_empty_dirs new logic and linter cleanup 2024-12-17 15:06:59 +01:00
__init__.py linter cleanup 2024-12-17 14:41:42 +01:00
main.py linter cleanup 2024-12-17 14:41:42 +01:00