Change output format to XML

- Change output format from markdown code blocks to structured XML
- Add XML tags for better structure and parsing
- Update documentation and README
- Update version to 0.6.0
This commit is contained in:
Kirill Markin 2025-04-19 13:26:18 +03:00
parent 58b4b23eae
commit 9431ff9d07
No known key found for this signature in database
GPG key ID: 03AB9530E15B9C1C
8 changed files with 727 additions and 176 deletions

View file

@ -240,7 +240,7 @@ def test_save_repo_to_text_with_binary_files(temp_dir: str) -> None:
# Check that the binary file is listed in the structure
assert "binary.bin" in output
# Check that the file content section exists with raw binary content
expected_content = f"Contents of binary.bin:\n```\n{binary_content.decode('latin1')}\n```"
expected_content = f"<content full_path=\"binary.bin\">\n{binary_content.decode('latin1')}\n</content>"
assert expected_content in output
def test_save_repo_to_text_custom_output_dir(temp_dir: str) -> None: