Skip to content

fix: empty dir cleanup (MAPCO-11296) - #35

Merged
vitaligi merged 3 commits into
masterfrom
fix/empty-dir-cleanup
Aug 3, 2026
Merged

fix: empty dir cleanup (MAPCO-11296)#35
vitaligi merged 3 commits into
masterfrom
fix/empty-dir-cleanup

Conversation

@vitaligi

@vitaligi vitaligi commented Aug 3, 2026

Copy link
Copy Markdown
Contributor
Question Answer
Bug fix
New feature
Breaking change
Deprecations
Documentation
Tests added
Chore

this PR fixes previous behavior:
where in the case a resources deletion was provided a path, that has several dirs levels in it, it would delete the child dir but would keep all parents with empty dirs.

e.g. paths: ["dir1/dir2/dir3"] would remove dir3 but parent dirs dir1 & dir2 would remain in place although they don't contain any resource.

@almog8k almog8k left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

add the new raster-shared version v8.3.0 as part of this pr before merging.

@vitaligi vitaligi changed the title fix: empty dir cleanup fix: empty dir cleanup (MAPCO-11296) Aug 3, 2026
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

🎫 Related Jira Issue: MAPCO-11296

@vitaligi
vitaligi merged commit 375d819 into master Aug 3, 2026
6 checks passed
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