mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[PR #317] [MERGED] fix: upload more than 100 files in directory #563
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/sigoden/dufs/pull/317
Author: @plantatorbob
Created: 12/11/2023
Status: ✅ Merged
Merged: 12/11/2023
Merged by: @sigoden
Base:
main← Head:readentries-fix📝 Commits (1)
3fab1bdfix: upload more than 100 files in directory📊 Changes
1 file changed (+21 additions, -13 deletions)
View changed files
📝
assets/index.js(+21 -13)📄 Description
This PR changes
addFileEntriesbehaviour so that it attempts to callreadEntriesmultiple times, untilreadEntriesreturns an empty array.This allows
addFileEntriesto correctly handle large directories on Chromium-based browsers (readEntriesonly returns up to 100 entries per call).Fixes #316.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.