package octez-internal-libs
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
On This Page
  
  
  A package that contains some libraries used by the Octez suite
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      tezos-octez-v20.1.tag.bz2
    
    
        
    
  
  
  
    
  
  
    
  
        sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
    
    
  sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65
    
    
  doc/octez-internal-libs.irmin/Irmin/Commit/History/index.html
Module Commit.HistorySource
Build a commit history.
Parameters
Signature
Commit History
The type for node keys.
Source
val v : 
  [> Perms.write ] t ->
  node:node_key ->
  parents:commit_key list ->
  info:info ->
  (commit_key * v) Lwt.tCreate a new commit.
Get the commit parents.
Commits form a append-only, fully functional, partial-order data-structure: every commit carries the list of its immediate predecessors.
merge t is the 3-way merge function for commit.
Source
val lcas : 
  [> Perms.read ] t ->
  ?max_depth:int ->
  ?n:int ->
  commit_key ->
  commit_key ->
  (commit_key list, [ `Max_depth_reached | `Too_many_lcas ]) result Lwt.tFind the lowest common ancestors lca between two commits.
Source
val lca : 
  [> Perms.read_write ] t ->
  info:(unit -> info) ->
  ?max_depth:int ->
  ?n:int ->
  commit_key list ->
  (commit_key option, Merge.conflict) result Lwt.tSource
val three_way_merge : 
  [> Perms.read_write ] t ->
  info:(unit -> info) ->
  ?max_depth:int ->
  ?n:int ->
  commit_key ->
  commit_key ->
  (commit_key, Merge.conflict) result Lwt.tCompute the lcas of the two commit and 3-way merge the result.
Source
val closure : 
  [> Perms.read ] t ->
  min:commit_key list ->
  max:commit_key list ->
  commit_key list Lwt.tSame as Node.Graph.closure but for the history graph.
Source
val iter : 
  [> Perms.read ] t ->
  min:commit_key list ->
  max:commit_key list ->
  ?commit:(commit_key -> unit Lwt.t) ->
  ?edge:(commit_key -> commit_key -> unit Lwt.t) ->
  ?skip:(commit_key -> bool Lwt.t) ->
  ?rev:bool ->
  unit ->
  unit Lwt.tSame as Node.Graph.iter but for traversing the history graph.
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  On This Page