package git-unix
Virtual package to install and configure ocaml-git's Unix backend
Install
Dune Dependency
Authors
Maintainers
Sources
git-3.15.0.tbz
sha256=e26cca9f887c95f2c7e9966c1f414f11292522b52b64f218a3c58b4094e055d1
sha512=64ace1d29ba78d634be8eebe55fd49316230f3b156e497c7a05496b104465f5c03b0df898c5374296a33a504d2c21502c1e1a6d39004bd095695e494643d1342
doc/src/git-unix.top/git_top.ml.html
Source file git_top.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
(* * Copyright (c) 2013-2017 Thomas Gazagnaire <thomas@gazagnaire.org> * and Romain Calascibetta <romain.calascibetta@gmail.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. *) module Store = Git_unix.Store module Graph = Git.Object_graph.Make (Digestif.SHA1) (Store) let pp_index_entry = Git_index.Entry.pp ~pp_oid:Digestif.SHA1.pp let printers = [ "Git.User.pp"; "Git_top.Store.Value.pp"; "Git_top.Store.Value.Commit.pp"; "Git_top.Store.Value.Blob.pp"; "Git_top.Store.Value.Tree.pp"; "Git_top.Store.Value.Tag.pp"; "Git.Reference.pp"; "Git_top.pp_index_entry"; "Digestif.SHA1.pp"; "Git_top.Store.pp_error"; ] let eval_string ?(print_outcome = false) ?(err_formatter = Format.err_formatter) str = let lexbuf = Lexing.from_string str in let phrase = !Toploop.parse_toplevel_phrase lexbuf in Toploop.execute_phrase print_outcome err_formatter phrase let rec install_printers = function | [] -> true | printer :: printers -> let cmd = Printf.sprintf "#install_printer %s;;" printer in eval_string cmd && install_printers printers let () = Printexc.record_backtrace true let () = Fmt.set_style_renderer Fmt.stderr `Ansi_tty let () = Logs.set_reporter (Logs_fmt.reporter ~dst:Fmt.stderr ~pp_header:Logs_fmt.pp_header ()) let () = Logs.set_level ~all:true (Some Logs.Debug)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>