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.beta3.tbz
sha256=96eda206d7eacfb921d5a6bb459254d7f8c507bbc11aa27f1544fb5c73e204c7
sha512=97cf49978fc18946eef5579b004907b2f2a58dc2452446476545385b388eb04bde072020b7a55900be02405f71bebbc919a6039caf636f221167a5d9335ffcce

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.