package dose3

  1. Overview
  2. Docs
Dose library (part of Mancoosi tools)

Install

Dune Dependency

Authors

Maintainers

Sources

dose3-6.1.tar.gz
md5=dedc2f58f2c2b59021f484abc6681d93
sha512=603462645bac190892a816ecb36ef7b9c52f0020f8d7710dc430e2db65122090fdedb24a8d2e03c32bf53a96515f5b51499603b839680d0a7a2146d6e0fb6e34

doc/dose3.debian/Dose_debian/Release/index.html

Module Dose_debian.ReleaseSource

Debian release files. This file format, and its use in apt, is described on http://wiki.debian.org/SecureApt.

Sourcetype release = {
  1. fname : string;
  2. origin : string;
  3. label : string;
  4. suite : string;
  5. version : string;
  6. codename : string;
  7. date : string;
  8. architecture : string;
  9. component : string;
  10. notauto : bool;
  11. autoup : bool;
  12. description : string;
  13. md5sums : (string * string * string) list;
  14. sha1 : (string * string * string) list;
  15. sha256 : (string * string * string) list;
}

The type for representing the contents of one release file

Sourceval parse_release_in : string -> IO.input -> release option

parse_release_in filename channel parses the contents of a release file of name filename from the input channel channel. Returns Some(c) when c is the contents of the release file read from the stream, or None when the stream contains only whitespace.

The release file may be signed, but in this case the validity of the signature is not checked!!

OCaml

Innovation. Community. Security.