package conan-database

  1. Overview
  2. Docs
A database of decision trees to recognize MIME type

Install

dune-project
 Dependency

Authors

Maintainers

Sources

conan-0.0.8.tbz
sha256=478c6ddac4fb3c3f43e9f7c71be1aa309d18f09b47e097fc9b3e5dcd047537c5
sha512=3658ab6cfc673fab0bb03915289d552b8147f7a93c084f6e63c4b64573dd11927c9f107547fade87a7415f320d1cf4c2adc8bea6a71d59c6f2b7326f84cd5710

doc/src/conan-database.light/conan_rpi.ml.html

Source file conan_rpi.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
let tree = Conan.Tree.Unsafe.node
             [(Conan.Tree.Unsafe.elt ~strength:70 ?filename:(Some "rpi")
                 ?line:(Some 37)
                 (let ty = Conan.Ty.numeric ~unsigned:false ~endian:`BE
                             Conan.Integer.int32 (Conan.Arithmetic.Bitwise_and
                                                  (-4081l)) in
                  Conan.Tree.Unsafe.rule
                    ~offset:(Conan.Offset.Absolute (Conan.Offset.Value 0L))
                    ty
                    (Conan.Test.numeric Conan.Integer.int32
                       (Conan.Comparison.equal_to 1437265935l))
                    (`Space "Raspberry PI EEPROM")),
               Conan.Tree.Unsafe.node
                 [(Conan.Tree.Unsafe.elt ~strength:0 ?filename:(Some "rpi")
                     ?line:(Some 39)
                     (Conan.Tree.Unsafe.mime "application/x-raspberry-eeprom"),
                   Conan.Tree.Unsafe.node [])])]