package octez-internal-libs
A package that contains some libraries used by the Octez suite
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65
doc/src/octez-internal-libs.irmin_pack/irmin_pack_intf.ml.html
Source file irmin_pack_intf.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
(* * Copyright (c) 2018-2022 Tarides <contact@tarides.com> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. *) open! Import exception RO_not_allowed module type Checkable = sig type 'a t type hash val integrity_check : offset:int63 -> length:int -> hash -> _ t -> (unit, [ `Wrong_hash | `Absent_value ]) result end module type S = Irmin.Generic_key.S module S_is_a_store (X : S) : Irmin.Generic_key.S = X module type Maker = sig type endpoint = unit include Irmin.Key.Store_spec.S module Make (Schema : Irmin.Schema.Extended) : S (* We can't have `with module Schema = Schema` here, since the Schema on the RHS contains more information than the one on the LHS. We _want_ to do something like `with module Schema = (Schema : Irmin.Schema.S)`, but this isn't supported. TODO: extract these extensions as a separate functor argument instead. *) with type Schema.Hash.t = Schema.Hash.t and type Schema.Branch.t = Schema.Branch.t and type Schema.Metadata.t = Schema.Metadata.t and type Schema.Path.t = Schema.Path.t and type Schema.Path.step = Schema.Path.step and type Schema.Contents.t = Schema.Contents.t and type Schema.Info.t = Schema.Info.t and type contents_key = (Schema.Hash.t, Schema.Contents.t) contents_key and type node_key = Schema.Hash.t node_key and type commit_key = Schema.Hash.t commit_key and type Backend.Remote.endpoint = endpoint end module type Sigs = sig (** A space-optimiezed, on-disk store inspired by {{:https://git-scm.com/book/en/v2/Git-Internals-Packfiles} Git Packfiles}. *) (** {1 Configuration} *) module Indexing_strategy = Indexing_strategy module Conf = Conf val config : ?fresh:bool -> ?readonly:bool -> ?lru_size:int -> ?lru_max_memory:int option -> ?index_log_size:int -> ?merge_throttle:Conf.merge_throttle -> ?indexing_strategy:Indexing_strategy.t -> ?use_fsync:bool -> ?dict_auto_flush_threshold:int -> ?suffix_auto_flush_threshold:int -> ?no_migrate:bool -> ?lower_root:string option -> string -> Irmin.config (** Configuration options for stores. See {!Irmin_pack.Conf} for more details. *) (** {1 Inode} *) module Inode = Inode (** {1 Keys and Values} *) module Pack_key = Pack_key module Pack_value = Pack_value (** {1 Store} *) exception RO_not_allowed module type S = S module type Maker = Maker (** {1 Integrity Check} *) module type Checkable = Checkable (** {1 Metrics} *) module Stats = Stats (** {1 Low-level Stores} *) module Indexable = Indexable module Atomic_write = Atomic_write (** {1 On-disk format} *) module Layout = Layout module Version = Version end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>