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.beta4.tbz
sha256=d0b82b8ba551d37d455472bcefd4f12ec5738d8cfae1631a3816815193afbdc6
sha512=dd4b7138409a0dd465a9b39225b8986a70c526647a88f217647737127fd04d3ad7704a37c212f22c76d0cc3065a89dba839b83342089f1bf062cf08e5a60d1ab

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.