TromsFylkestrafikk / ragnarok-sink

Sink API for Ragnarok
GNU General Public License v3.0
0 stars 0 forks source link

Single file/archive per chunk #9

Closed tfk-kaare closed 10 months ago

tfk-kaare commented 11 months ago

By forcing sinks to store each chunk in a single file/archive, we can simplify the SinkBase API. No need to implement removeChunk and no need to get chunk version. This will also simplify the process of downloading chunks as mentioned in tromsfylkestrafikk/ragnarok#60

To ease the process of creating a single file per chunk for sinks with several files per chunk, ragnarok-sink should provide a base API for creating and extracting files from it.