Skip to content

Commit ffbde54

Browse files
committed
Apply fmt changes
1 parent 3554b41 commit ffbde54

File tree

8 files changed

+25
-33
lines changed

8 files changed

+25
-33
lines changed

src/volgo-base/volgo_base.mli

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
they can be used with Base-style containers:
1515
1616
{[
17-
let create_path_in_repo_table () = Hashtbl.create (module Vcs.Path_in_repo)
17+
let create_path_in_repo_table () = Hashtbl.create (module Vcs.Path_in_repo)
1818
]}
1919
2020
There's also a new module [Vcs.Or_error] which allows using [Vcs] with the
@@ -28,7 +28,7 @@
2828
available to your scope:
2929
3030
{[
31-
module Vcs = Volgo_base.Vcs
31+
module Vcs = Volgo_base.Vcs
3232
]}
3333
3434
Another way to achieve this is to open [Volgo_base] via dune flags. When doing

src/volgo-git-backend/munged_path.mli

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@
1010
1111
1. A simple path:
1212
{[
13-
"a/simple/path"
13+
"a/simple/path"
1414
]}
1515
1616
2. A pair of paths, with an arrow separator
1717
{[
18-
"a/simple/path => another/path"
18+
"a/simple/path => another/path"
1919
]}
2020
2121
3. (The more involved case). A pair of paths, with common parts
2222
{[
23-
"a/{simple => not/so/simple}/path"
23+
"a/{simple => not/so/simple}/path"
2424
]}
2525
2626
This module is able to parse all these forms and returned a typed version of

src/volgo-git-eio/make_runtime.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ let vcs_cli ~of_process_output ?env t ~cwd ~args ~f =
192192
193193
Illustrating what the inserted unvisitable coverage point looks like:
194194
{[
195-
___bisect_post_visit___ 36 (raise_notrace (Err.E err))
195+
___bisect_post_visit___ 36 (raise_notrace (Err.E err))
196196
]}
197197
*)
198198
(match

src/volgo-git-unix/make_runtime.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ let vcs_cli ~of_process_output ?env t ~cwd ~args ~f =
224224
225225
Illustrating what the inserted unvisitable coverage point looks like:
226226
{[
227-
___bisect_post_visit___ 36 (raise_notrace (Err.E err))
227+
___bisect_post_visit___ 36 (raise_notrace (Err.E err))
228228
]}
229229
*)
230230
match

src/volgo/graph.ml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ module Node_kind = struct
2424
The following comes to mind:
2525
2626
{[
27-
type t =
28-
{ rev : Rev.t
29-
; parents : Node.t list
30-
}
27+
type t =
28+
{ rev : Rev.t
29+
; parents : Node.t list
30+
}
3131
]}
3232
3333
It is possible that we'd look into it at some point. It is not clear

src/volgo/vcs.mli

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -294,21 +294,17 @@ module Git = Git
294294
For example using the raising API::
295295
296296
{[
297-
let git_status () : string =
298-
Vcs.git vcs ~repo_root ~args:[ "status" ] ~f:Vcs.Git.exit0_and_stdout
299-
;;
297+
let git_status () : string =
298+
Vcs.git vcs ~repo_root ~args:[ "status" ] ~f:Vcs.Git.exit0_and_stdout
299+
;;
300300
]}
301301
302302
Or the {{!non_raising_apis} non-raising API} (result):
303303
304304
{[
305-
let git_status () : string Vcs.Result.t =
306-
Vcs.Result.git
307-
vcs
308-
~repo_root
309-
~args:[ "status" ]
310-
~f:Vcs.Git.Result.exit0_and_stdout
311-
;;
305+
let git_status () : string Vcs.Result.t =
306+
Vcs.Result.git vcs ~repo_root ~args:[ "status" ] ~f:Vcs.Git.Result.exit0_and_stdout
307+
;;
312308
]} *)
313309
val git
314310
: ?env:string array
@@ -338,17 +334,17 @@ module Hg = Hg
338334
For example using the raising API:
339335
340336
{[
341-
let hg_status () : string =
342-
Vcs.hg vcs ~repo_root ~args:[ "status" ] ~f:Vcs.Hg.exit0_and_stdout
343-
;;
337+
let hg_status () : string =
338+
Vcs.hg vcs ~repo_root ~args:[ "status" ] ~f:Vcs.Hg.exit0_and_stdout
339+
;;
344340
]}
345341
346342
Or the {{!non_raising_apis} non-raising API} (result):
347343
348344
{[
349-
let hg_status () : string Vcs.Result.t =
350-
Vcs.Result.hg vcs ~repo_root ~args:[ "status" ] ~f:Vcs.Hg.Result.exit0_and_stdout
351-
;;
345+
let hg_status () : string Vcs.Result.t =
346+
Vcs.Result.hg vcs ~repo_root ~args:[ "status" ] ~f:Vcs.Hg.Result.exit0_and_stdout
347+
;;
352348
]} *)
353349
val hg
354350
: ?env:string array

test/volgo-git-backend/test__log.ml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66

77
(* [super-master-mind.log] has been created by capturing the output of:
88
9-
{v
10-
$ git log --all --pretty=format:'%H %P'
11-
v}
9+
{v $ git log --all --pretty=format:'%H %P' v}
1210
1311
In this test we verify that we can parse this output. *)
1412

test/volgo-git-backend/test__refs.ml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66

77
(* [super-master-mind.refs] has been created by capturing the output of:
88
9-
{v
10-
$ git show-refs
11-
v}
9+
{v $ git show-refs v}
1210
1311
In this test we verify that we can parse this output. *)
1412

0 commit comments

Comments
 (0)