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

fix: clean up public API for clearing files #1771

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

vmx
Copy link
Contributor

@vmx vmx commented Jan 8, 2025

clear_layer_data() and clear_caches are never called within rust-fil-proofs and also not used in rust-filecoin-proofs-api, hence remove them.

The clear_cache() and clear_synthetic_proofs() functions don't need to be generic over the tree as it's never used within those functions. This is a breaking change.

BREAKING CHANGE: signature of clear_cache() and clear_synthetic_proofs() changed. The generic parameter is no longer needed.


I've put this on master. I'll rebase it, once master is green.

`clear_layer_data()` and `clear_caches` are never called within `rust-fil-proofs`
and also not used in `rust-filecoin-proofs-api`, hence remove them.

The `clear_cache()` and `clear_synthetic_proofs()` functions don't need to be
generic over the tree as it's never used within those functions. This is a
breaking change.

BREAKING CHANGE: signature of `clear_cache()` and `clear_synthetic_proofs()`
changed. The generic parameter is no longer needed.
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