let has_extra_connection_data con =
let has_in = has_input con || has_partial_input con in
let has_out = has_output con in
- let has_socket = con.dom = None in
let has_nondefault_perms = make_perm con.dom <> con.perm in
has_in || has_out
(* TODO: what about SIGTERM, should use systemd to store FDS
let process_watch t cons =
let oldroot = t.Transaction.oldroot in
- let newroot = Store.get_root t.store in
+ let newroot = Store.get_root t.Transaction.store in
let ops = Transaction.get_paths t |> List.rev in
let do_op_watch op cons =
let recurse, oldroot, root = match (fst op) with
ignore @@ Connection.end_transaction c tid None
)
-let do_watch con t _domains cons data =
+let do_watch con _t _domains cons data =
let (node, token) =
match (split None '\000' data) with
| [node; token; ""] -> node, token
let () = Printexc.record_backtrace true
+
(**
* Nothrow guarantee.
*)