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.beta7.tbz
sha256=4fe47605e171bdc7734d0cd4f3fa8ad5d7e4aa9b7cde8cd46e517dadf0f5dda9
sha512=a198e60da2575a27d6976bac2839e544312e4f5d895bc18bf3d9554396896a406a1143bcc0a28c75b992a060e0a5174a23a6688aaefaa8dd8c37f09b59364ad1

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.