This repository was archived by the owner on Jun 26, 2023. It is now read-only.
forked from MichaelMure/go-ipfs-pinner
-
Notifications
You must be signed in to change notification settings - Fork 10
Datastore based pinner #4
Merged
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
9fc54f6
start restructuring for move to datastore pinner
aschmahmann be03825
Store pins in datastore instead of in mdag
gammazero 77c9a1d
Import and Export functions. Cid stored as bytes. Revise indexer inte…
gammazero 5398bb2
add name index
gammazero 922fab7
add benchmarks
gammazero fdf37b1
Use dirty flag to determine when to rebuild indexes
gammazero a2720f1
Fix benchmarks
gammazero 37293b6
Do not keep pinned CID sets in memory (no-cache implementation)
gammazero 0244724
Add comments and unit test
gammazero 22a61da
Speed up pinning by avoining 2nd recursive check if no changes
gammazero 1662bb8
correct log level
gammazero cad8378
improve import/export unit test
gammazero d1a44d7
Update returns error if from CID is not pinned, even when from and to…
gammazero 9bb7a0c
test update of same pin
gammazero eb32271
Cleanup and better test coverage
gammazero 22254b2
Change requested in review
gammazero d787682
Additional changes from review
gammazero 0435ac4
Removed New in favor of only having LoadPinner
gammazero dde41e9
Indexer encodes index and key to allow arbitrary strings
gammazero 0a5737f
Use int64 for dirty count and remove unused const
gammazero fb419e7
use base64 encoding
gammazero 00764f0
Encode using multibase
gammazero a6d812c
Changes from review
gammazero 86f36c2
Rename LoadPinner to New for both pinners
gammazero 7a128c6
Check context when loading pinner and during iterative operations
gammazero cd2065d
indexer.New takes ds.Key
gammazero 9c335cd
Change pin encoding. Add unit test
gammazero 9fafc51
switch to atlas pin encoding
aschmahmann 2586c60
removed type annotations from pin struct
aschmahmann File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.