fix: add parent tags to folders_to_tags macro and start tagging at root folder (#940)

* start tagging from root and add parent tags

* update snapshot to pass test
This commit is contained in:
rsazra
2025-06-04 04:22:17 -04:00
committed by GitHub
parent e1117bf1a1
commit e4bb07e852
2 changed files with 6 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
# serializer version: 1
# name: test_generate_preview_data
BranchData(dirs={'two': BranchData(dirs={}, files=['bar.md'], tag=<Tag ID: None Name: two>)}, files=[], tag=None)
BranchData(dirs={'one': BranchData(dirs={'two': BranchData(dirs={}, files=['bar.md'], tag=<Tag ID: None Name: two>)}, files=[], tag=<Tag ID: None Name: one>)}, files=[], tag=None)
# ---