forked from linuxdeepin/util-dfm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: [file-sort] Ensure directories are sorted by name
Updated the comparison functions to handle suffixes correctly. - Modified `compareByStringEx` to accept additional parameters indicating whether the strings have suffixes. - Adjusted the logic to prevent sorting by suffixes, ensuring directories are sorted by their names. - Updated `compareByString` and `compareByName` to pass the new parameters accordingly. This resolves the issue where directories were incorrectly sorted by suffixes instead of names. Log: fix issue Bug: https://pms.uniontech.com/bug-view-302719.html
- Loading branch information
1 parent
bce9f04
commit 06091ac
Showing
2 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters