package fluxt

  1. Overview
  2. Docs
Extensions of flux to provide basic streams (compression, hash, format)

Install

dune-project
 Dependency

Authors

Maintainers

Sources

flux-0.0.1.beta8.tbz
sha256=0e66f5509a2b93fba91bddaefa92647fe961d0d7a79986cdec68e5b86ce67f06
sha512=f25e7d6d477e9168e12390f535c1cc243e5b07610a51919a44adb99b321474e8b666250f6e5dfe2a326f2766bc003ef7eaebaea8c5f45a72e3e6437869b9a9a0

doc/fluxt.zip/Flux_zip/index.html

Module Flux_zipSource

Sourcetype entry = private {
  1. filepath : string;
  2. mtime : Ptime.t;
  3. tz_offset_s : Ptime.tz_offset_s option;
  4. src : string Flux.source;
  5. level : int;
}
Sourceval of_filepath : ?tz_offset_s:Ptime.tz_offset_s -> ?mtime:Ptime.t -> ?level:int -> string -> string Flux.source -> entry

of_filepath filepath src makes a new entry from a file whose content is consumable via src (you can use Flux.Source.file).

Sourceval zip : (entry, string) Flux.flow

zip It converts entries into a byte stream corresponding to the ZIP64 format.