application-research / delta

Filecoin deal proposal / making service
Apache License 2.0
16 stars 4 forks source link

Can delta handle directories? #121

Open anjor opened 1 year ago

anjor commented 1 year ago

https://github.com/application-research/delta/blob/main/api/deal.go#L679 seems to suggest it expects a file, but wanted to check.

alvin-reyes commented 1 year ago

You would need to either use the Delta-CLI to load directories or the delta-chunker I'm working on https://github.com/application-research/delta-chunker

image

anjor commented 1 year ago

No way to do it without splitting files first? I need the IPLD dag to remain intact.

alvin-reyes commented 1 year ago

not right now but we can add it later. I'll work on supporting multiple versions of split i.e split+car and car+split.

anjor commented 1 year ago

ok in that case if there's a car file upload endpoint that works I can use it in tandem with my data preparation tooling.

anjor commented 1 year ago

Related issue: https://github.com/application-research/delta/issues/122