Skip to content

fix: directory scan/remove works with [bracketed] folder names - #10

Merged
ccombe merged 2 commits into
masterfrom
fix/bracket-dir-names
Oct 18, 2026
Merged

ccombe merged 2 commits into
masterfrom
fix/bracket-dir-names

Conversation

@ccombe

@ccombe ccombe commented Oct 18, 2026

Copy link
Copy Markdown
Owner

User example: G:\My Drive\Music[unnamed][unnamed] is dead (desktop.ini only) but was never reported.

FindFirstFileA parses the path as a wildcard pattern, so [unnamed] in a folder name becomes a character-class match and enumeration silently fails. Scan (list_dir_entries) and Remove (per-dir deletion) now iterate with std::filesystem::directory_iterator - full literal path handling for any allowed characters.

Prepares 1.8.2 (patch).

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved (owner PR)

@ccombe
ccombe enabled auto-merge (squash) October 18, 2026 02:56

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved (owner PR)

@ccombe
ccombe merged commit d8cdb0a into master Oct 18, 2026
9 checks passed
@ccombe
ccombe deleted the fix/bracket-dir-names branch October 18, 2026 03:03
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.

1 participant