Tezos_layer2_store.Snapshot_utilsval stdlib_reader : readerA reader for uncompressed files or snapshot archives.
val stdlib_writer : writerA writer for uncompressed files or snapshot archives.
val gzip_reader : readerA reader for compressed files or snapshot archives.
val gzip_writer : writerA writer for compressed files or snapshot archives.
val reader_format : reader -> [ `Compressed | `Uncompressed ]Returns whether the reader is for compressed or uncompressed files.
val input_format : reader_input -> [ `Compressed | `Uncompressed ]Returns whether the reader and input channel is for compressed or uncompressed files.
val input_source :
reader_input ->
[ `Local of string | `Remote of string | `Stdin ]Returns from where the snapshot input was constructed. Either `Local filename when the snapshot is read from a local file filename or `Remote url when the snapshot file is downloaded from url.
Add a download snapshot command to the executable (only for internal use).