Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

feat: add GarbageCollect method to GCBlockstore interface #104

Closed
wants to merge 1 commit into from

Conversation

iand
Copy link

@iand iand commented Jun 17, 2022

An implementation of proposal ipfs/boxo#364 which is intended to allow alternate garbage collection algorithms to be used in go-ipfs (see ipfs/kubo#8870 for motivation)

Almost all types and functions here are lifted directly from go-ipfs. If this is merged then go-ipfs can be adjusted to use these types instead of its local ones.

The SimpleGarbageCollect function is a copy of the default garbage collection behaviour in go-ipfs: delete all blocks except those in the provided set.

@welcome

This comment was marked as resolved.

@lidel
Copy link
Member

lidel commented Jun 19, 2023

❗ This repository is no longer maintained.

This repository is no longer maintained and this library has been copied over to boxo/blockstore.

In an effort to avoid noise and crippling in the Boxo repo from the weight of issues of the past, we are closing most issues and PRs in this repo.

@iand Please feel free to reopen a new PR in Boxo (and reference this issue) if resolving this issue is still critical for unblocking or improving your usecase.

You can learn more in the FAQs for the Boxo repo copying/consolidation effort.

@lidel lidel closed this Jun 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants