minor tweaks

This commit is contained in:
Hannes Mehnert 2024-02-11 22:44:55 +01:00
parent 1264fdad0a
commit cbfba38063
2 changed files with 3 additions and 8 deletions

View file

@ -12,8 +12,8 @@ depends: [
"dune" {>= "2.9.0"} "dune" {>= "2.9.0"}
"git" {>= "3.10.0"} "git" {>= "3.10.0"}
"mirage-kv" {>= "6.0.0"} "mirage-kv" {>= "6.0.0"}
"carton" {>= "0.6.0"} "carton" {>= "0.7.0"}
"carton-lwt" {>= "0.6.0"} "carton-lwt" {>= "0.7.0"}
"fmt" {>= "0.8.7"} "fmt" {>= "0.8.7"}
"mirage-clock" {>= "2.0.0"} "mirage-clock" {>= "2.0.0"}
"ptime" "ptime"
@ -28,8 +28,3 @@ build: [
["dune" "build" "-p" name "-j" jobs] ["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test} ["dune" "runtest" "-p" name "-j" jobs] {with-test}
] ]
pin-depends: [
[ "carton.dev" "git+https://github.com/mirage/ocaml-git.git#98e15fda0b3f0d51fa215a56ffee808a83849765" ]
[ "carton-lwt.dev" "git+https://github.com/mirage/ocaml-git.git#98e15fda0b3f0d51fa215a56ffee808a83849765" ]
]

View file

@ -46,7 +46,7 @@ val branch : t -> Git.Reference.t
val to_octets : ?level:int -> t -> string Lwt.t val to_octets : ?level:int -> t -> string Lwt.t
(** [to_octets ?level store] returns a serialized version of the given [store]. (** [to_octets ?level store] returns a serialized version of the given [store].
[level] is the {i zlib} level compression used for Git object (between [0] [level] is the {i zlib} level compression used for Git object (between [0]
and [9] including). *) and [9] including), defaults to [4]. *)
val of_octets : Mimic.ctx -> remote:string -> string -> val of_octets : Mimic.ctx -> remote:string -> string ->
(t, [> `Msg of string]) result Lwt.t (t, [> `Msg of string]) result Lwt.t