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.beta6.tbz
sha256=a73ac59332c252a7ec2bf1b6cf59f1f03e0a2bbd8fa93a059c31a1263527b759
sha512=c020ad017f3606b430bb717d45615baa4b875c1b3aee5945ac84a65d85b5c01ffad198bf7d3c3c65c864bfc53d702d474b82d5655eb4e926dd03bb10e55f1d3b

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.