Skip to content

Conversation

gammazero
Copy link
Contributor

@gammazero gammazero commented Mar 4, 2025

Results.Close should always return error. Even if it is not currently used for anything, having the ability to return error allows for higher level functionality to handle error conditions that may be important for future code. This was removed in v0.8.0, as it did not serve a functional purpose and was almost entirely unused/ignored.

The only ipfs/go-da-xxx modules affected are go-ds-leveldb, go-ds-sql, and go-ds-s3

Results.Close should always return error. Even if it is not currently used for anything, having the ability to return error allows for higher level functionality to handle error conditiond that may be important for future code. This was removed in v0.8.0, as it did not serve a functional purpose.
@gammazero gammazero requested review from hsanjuan and lidel March 4, 2025 05:19
@gammazero gammazero merged commit 12840fe into master Mar 4, 2025
8 checks passed
@gammazero gammazero deleted the results-close-error branch September 16, 2025 04:55
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