File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,9 @@ module Stringtbl = struct
16
16
type 'a t = 'a Hashtbl .M (String ).t
17
17
18
18
let empty () = Hashtbl. create (module String )
19
-
20
19
let to_list (l : 'a t ) : (string * 'a) list = Hashtbl. to_alist l
21
-
22
20
let of_list (m : (string * 'a) list ) : 'a t = Hashtbl. of_alist_exn (module String ) m
23
-
24
21
let wrap = of_list
25
-
26
22
let unwrap = to_list
27
23
end
28
24
Original file line number Diff line number Diff line change @@ -35,9 +35,7 @@ let set_repo_pipeline_status { state; lock } repo_url ~pipeline ~(branches : Git
35
35
Lwt. return_unit
36
36
37
37
let set_bot_user_id { state; _ } user_id = state.State_t. bot_user_id < - Some user_id
38
-
39
38
let get_bot_user_id { state; _ } = state.State_t. bot_user_id
40
-
41
39
let log = Log. from " state"
42
40
43
41
let save { state; _ } path =
You can’t perform that action at this time.
0 commit comments