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: simpler cache cleaning #1723

Merged
merged 1 commit into from
Oct 12, 2023
Merged

fix: simpler cache cleaning #1723

merged 1 commit into from
Oct 12, 2023

Conversation

vmx
Copy link
Contributor

@vmx vmx commented Sep 26, 2023

Instead of requiring t_aux for cache cleaning, use file name globbing. This is less code and easier to document and reason about.

Instead of requiring `t_aux` for cache cleaning, use file name globbing.
This is less code and easier to document and reason about.
@vmx vmx changed the base branch from p-aux-t-auxh-refactor to master October 5, 2023 15:08
@@ -25,6 +26,7 @@ pub use challenges::{
synthetic::SYNTHETIC_POREP_VANILLA_PROOFS_EXT, synthetic::SYNTHETIC_POREP_VANILLA_PROOFS_KEY,
ChallengeRequirements, LayerChallenges, SynthChallenges,
};
pub use clear_files::{clear_cache_dir, clear_synthetic_proofs};
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why am I not seeing clear_layer_data (the exposed API)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vmx vmx merged commit 1fe24a4 into master Oct 12, 2023
31 checks passed
@vmx vmx deleted the cleanup-cache-with-glob branch October 12, 2023 18: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