package git
Git format and protocol in pure OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
git-3.8.0.tbz
sha256=f6c628e3628d25686cec4cdff8132f9433e95938bdcb43975778d28d33a0b077
sha512=779bdd7a1657e859ed47b46ef9da007b5f43f4446f8cea831f29fae662efdd33a39aa2ee90b9f8d8b6360f2abb78038a7592633efa26e8adc5d2ae20d86d8015
doc/neg/Neg/index.html
Module Neg
Source
Negotiation engine used to fetch objects from a Git repository.
This implementation does not have any Git logics or how to store properly a Git object. However, it implements the negotiation engine used to fetch objects from a Git repository.
Finally, it needs fews primitives to properly receive Git objects from the state of a local Git repository:
exists
which tells to us if an object exists or not.parents
to get parents of a commit.deref
to de-reference a given reference.locals
to get locals references of the Git repository.
The user must give to us a light store which is able to keep some mutable values used by the negotiation engine.
find_common
talks directly to the remote Git repository.
Source
val find_common :
's Sigs.scheduler ->
('flow, 'error, 's) Sigs.flow ->
'flow ->
configuration ->
'uid hex ->
('uid, 'ref, 'uid * int Stdlib.ref * int64, 'g, 's) Sigs.access ->
('uid, 'uid * int Stdlib.ref * int64, 'g) Sigs.store ->
'uid negotiator ->
Smart.Context.t ->
?deepen:[ `Depth of int | `Timestamp of int64 ] ->
'uid list ->
([ `Continue of int | `Close ], 's) Sigs.io
Source
val tips :
's Sigs.scheduler ->
('uid, 'ref, 'uid * int Stdlib.ref * int64, 'g, 's) Sigs.access ->
('uid, 'uid * int Stdlib.ref * int64, 'g) Sigs.store ->
'uid negotiator ->
(unit, 's) Sigs.io
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>