Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(feat) Add directory operations: exists + delete #9

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

nitriques
Copy link
Member

This commits adds a best effort support of directory existance. It uses the data in the DB to check if the folder exists.

As for deletion of a directory, since there are no directory structure in Cloudflare Images, we now have a protection against deletion of non empty folders. They need to be emptied first before the user can delete them.

This commits adds a best effort support of directory existance.
It uses the data in the DB to check if the folder exists.

As for deletion of a directory, since there are no directory structure
in Cloudflare Images, we now have a protection against deletion of non
empty folders. They need to be emptied first before the user can delete
them.
@nitriques nitriques requested a review from patrickM288 January 21, 2025 22:22
@nitriques nitriques merged commit f329d63 into dev Jan 21, 2025
1 check 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