Skip to content

Conversation

@isoos
Copy link
Collaborator

@isoos isoos commented Mar 3, 2025

Since the file content is compressed, and the compression ratio is not known upfront, I've added the check in addFile: it will stop writing to the blob writer and skip the indexing if the threshold is reached. We could add additional checks in special cases (e.g. .tar.gz can be assumed to be the same size before and after further compression, but I think this solution may be generic and simple enough.

@isoos isoos requested review from jonasfj and sigurdm March 3, 2025 15:17
@isoos isoos merged commit e372213 into dart-lang:master Mar 5, 2025
31 checks passed
@isoos isoos deleted the limit-blob branch March 5, 2025 12:28
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