Skip to content

feat: add back gc protect callback #94

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

Draft
wants to merge 3 commits into
base: Frando/fix-deletion
Choose a base branch
from

Conversation

Frando
Copy link
Member

@Frando Frando commented Jul 2, 2025

Based on #95

Description

This adds back a way to externally protect blobs from garbage collection.

Used in n0-computer/iroh-docs#47

Breaking Changes

Notes & open questions

Change checklist

  • Self-review.
  • Documentation updates following the style guide, if relevant.
  • Tests if relevant.
  • All breaking changes documented.

Copy link

github-actions bot commented Jul 2, 2025

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh-blobs/pr/94/docs/iroh_blobs/

Last updated: 2025-07-03T11:00:54Z

@n0bot n0bot bot added this to iroh Jul 2, 2025
@github-project-automation github-project-automation bot moved this to 🏗 In progress in iroh Jul 2, 2025
@Frando Frando force-pushed the Frando/gc-protect branch 2 times, most recently from 45a02c9 to 87cb4f6 Compare July 3, 2025 08:58
@Frando Frando changed the base branch from main to Frando/fix-deletion July 3, 2025 08:58
@Frando Frando force-pushed the Frando/gc-protect branch from 87cb4f6 to 38bfa97 Compare July 3, 2025 09:28
@Frando Frando force-pushed the Frando/gc-protect branch from fc473f5 to efa928e Compare July 3, 2025 10:59
@rklaehn
Copy link
Collaborator

rklaehn commented Jul 3, 2025

I don't really like add_protected, but I also don't have a better solution right now. Maybe we add it and then strongly discourage using it or mark it as unstable somehow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🏗 In progress
Development

Successfully merging this pull request may close these issues.

2 participants