mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-02 18:20:29 +08:00
237e1e9adb3f8d80d21c65f00cfec13c7a8a1f22
This change allows for files (blobs) to be embedded into COB entries. This allows for things like image attachments in issue comments for example. For now, we only enable this in the `issue` COB. The way it works is that relevant COB actions carry metadata about which files are attached to them; and we store those files as blobs inside the COB entry's *tree* object, under an `embeds/` folder. The `Embed<T>` type is used for the above, and either carries actual content, or carries a content-id. Retrieving the actual content is as simple as asking the repository for a blob with that content-id. As a possible future extension, MIME types could be stored alongside the files in a "metadata" file. This could help clients display the content appropriately.
Description
Radicle web interface
196 MiB
Languages
Svelte
43.6%
TypeScript
32%
Rust
19%
JavaScript
2.2%
Shell
1.2%
Other
2%