systemd / casync

Content-Addressable Data Synchronization Tool
1.51k stars 117 forks source link

WIP: File format documentation #225

Open tomberek opened 5 years ago

tomberek commented 5 years ago

While trying to improve interoperability between casync and desync, I found it useful to have a visualization of the file formats.

Using the .ksy at https://gist.github.com/tomberek/a376495de8f43c65499e85b9d1e388f9 along with the in-browser IDE at https://ide.kaitai.io/# you can explore the file formats for .catar and .caidx (still working on .caibx).

This might make it easier to explain/document the file formats.

image

tomberek commented 5 years ago

Additionally, this provides a parser for various languages. Eg: list-chunks for .caidx implemented in-browser at https://tomberek.1mb.site/