-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat: getPath with carScope #8
Merged
Commits on Apr 17, 2023
-
add getPath method as a generator that returns blocks for the targeted dag and all blocks traversed while resolving a cid+path string supports carScope to specify what blocks to return for the resolved dag - 'all': return the entire dag starting at path. (default) - 'block': return the block identified by the path. - 'file': Mimic gateway semantics: Return All blocks for a multi-block file or just enough blocks to enumerate a dir/map but not the dir contents. see: storacha/freeway#33 see: storacha/freeway#34 TODO: - [] find out how to identify the boundaries of a unixfs hamt (unixfs-exported seems to define it as "not having an empty or null Link.Name after the first 2 chars are stripped, which seems risky... what happens if the actual dir listing has 2 char long link names? see: https://github.com/ipfs/js-ipfs-unixfs/blob/e853049bd63d6773442e1540ae49b6a443ca8672/packages/ipfs-unixfs-exporter/src/resolvers/unixfs-v1/content/hamt-sharded-directory.ts#L20-L42 License: MIT Signed-off-by: Oli Evans <oli@protocol.ai>
Configuration menu - View commit details
-
Copy full SHA for 6235baf - Browse repository at this point
Copy the full SHA 6235bafView commit details -
License: MIT Signed-off-by: Oli Evans <oli@protocol.ai>
Configuration menu - View commit details
-
Copy full SHA for b7898ee - Browse repository at this point
Copy the full SHA b7898eeView commit details
Commits on Apr 18, 2023
-
License: MIT Signed-off-by: Oli Evans <oli@protocol.ai>
Configuration menu - View commit details
-
Copy full SHA for 3b75841 - Browse repository at this point
Copy the full SHA 3b75841View commit details -
chore: always use encode. remove uint8arrays dep
License: MIT Signed-off-by: Oli Evans <oli@protocol.ai>
Configuration menu - View commit details
-
Copy full SHA for 2efdcf9 - Browse repository at this point
Copy the full SHA 2efdcf9View commit details
Commits on Apr 19, 2023
-
feat: car-scope for hamt-sharded-directory
License: MIT Signed-off-by: Oli Evans <oli@protocol.ai>
Configuration menu - View commit details
-
Copy full SHA for 59c666b - Browse repository at this point
Copy the full SHA 59c666bView commit details
Commits on Apr 21, 2023
-
chore: add test for hamt-sharded-dir
License: MIT Signed-off-by: Oli Evans <oli@protocol.ai>
Configuration menu - View commit details
-
Copy full SHA for 3acbe11 - Browse repository at this point
Copy the full SHA 3acbe11View commit details
Commits on Apr 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for cdd530d - Browse repository at this point
Copy the full SHA cdd530dView commit details -
License: MIT Signed-off-by: Oli Evans <oli@protocol.ai>
Configuration menu - View commit details
-
Copy full SHA for 2769c69 - Browse repository at this point
Copy the full SHA 2769c69View commit details -
Configuration menu - View commit details
-
Copy full SHA for e942e82 - Browse repository at this point
Copy the full SHA e942e82View commit details -
License: MIT Signed-off-by: Oli Evans <oli@protocol.ai>
Configuration menu - View commit details
-
Copy full SHA for 4aed254 - Browse repository at this point
Copy the full SHA 4aed254View commit details
Commits on May 1, 2023
-
Apply suggestions from code review
Co-authored-by: Alan Shaw <alan.shaw@protocol.ai>
Configuration menu - View commit details
-
Copy full SHA for 26f019a - Browse repository at this point
Copy the full SHA 26f019aView commit details
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.