repo-to-text/repo_to_text/core
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
..
__init__.py linter cleanup 2024-12-17 17:06:16 +01:00
core.py Refactor tree structure generation and filtering logic 2024-12-17 17:16:39 +01:00