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

Car reference fs #4

Merged
merged 7 commits into from
Mar 11, 2022
Merged

Car reference fs #4

merged 7 commits into from
Mar 11, 2022

Conversation

d70-t
Copy link
Owner

@d70-t d70-t commented Feb 14, 2022

This is a potential implementation for #2.

I don't yet know what a good interface would be. Currently it can be used to generate a reference filesystem from an existing car file as follows:

from ipldstore.car_reference_fs import car2reference_fs
carfilename = "test.car"
indexfilename = "index.car"
ref = car2reference_fs(carfilename)    
with open(indexfilename, "w") as reffile:    
    json.dump(ref, reffile)  

@d70-t d70-t marked this pull request as ready for review March 11, 2022 14:22
@d70-t d70-t merged commit 9f63d00 into main Mar 11, 2022
@d70-t d70-t deleted the car_reference_fs branch March 14, 2022 13:53
@thewtex
Copy link

thewtex commented Apr 29, 2022

@d70-t this is awesome!! I will test and follow-up on #2

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