Skip to content

fix(archive): unable to preview#8248

Merged
xhofe merged 2 commits intoAlistGo:mainfrom
j2rong4cn:fix
Apr 3, 2025
Merged

fix(archive): unable to preview#8248
xhofe merged 2 commits intoAlistGo:mainfrom
j2rong4cn:fix

Conversation

@j2rong4cn
Copy link
Copy Markdown
Contributor

No description provided.

@petercat-assistant
Copy link
Copy Markdown

Walkthrough

This pull request addresses an issue where archives were unable to be previewed. The changes involve modifications to the GenerateMetaTreeFromFolderTraversal function, specifically removing unnecessary initializations that may have caused the preview issue.

Changes

File Summary
internal/archive/tool/helper.go Removed unnecessary initialization of dirMap["."] and dirObj.Children, which may have been causing issues with archive previews.

Comment thread internal/archive/tool/helper.go
Comment thread internal/archive/tool/helper.go
@xhofe xhofe merged commit 31c55a2 into AlistGo:main Apr 3, 2025
12 checks passed
@j2rong4cn j2rong4cn deleted the fix branch April 3, 2025 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants