Make PublicFile.content more flexible than CID<IPFSUnixFSFile> #49
fabricedesre
started this conversation in
General
Replies: 1 comment
-
I've discussed this with Fabrice in discord, and I actually think that his use cases may be better served by putting more files into a file's metadata. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This was discussed in #18 (comment) but it's not reflected in the spec. The MetaData field looks flexible enough but that is not matched by the content itself. I've started to look at mapping Capyloon's vfs resources to wnfs and with the current spec things will be quite ugly and/or inefficient.
I would need for content to be something like
CBOR<Record<string, CID>>
: being able to point to each resource variant by name. I'm not sure how that would fit with the private filesystem where the expectation will be to encrypt not justcontent
but also the referenced CIDs.Beta Was this translation helpful? Give feedback.
All reactions