Skip to content

Conversation

@brospars
Copy link

Hi 👋

This PR addresses a bug in the web implementation where the logic for creating parent directories before writing a downloaded file fails.

Since the web Filesystem uses IndexedDB a key/value store (key: filepath, value: file content and metadata) it does not support the concept of "directories" in the traditional filesystem sense.

Attempting to create directories in this context is not only unnecessary but also causes errors.

Removed unnecessary parent directory creation logic before writing the downloaded file.
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