2 * Copyright (c) 2015, Facebook, Inc.
5 * This source code is licensed under the MIT license found in the
6 * LICENSE file in the "hack" directory of this source tree.
10 (* The full type ClientCommand.command refers to environment types in
11 * other client modules like ClientStart.env, ClientBuild.env, etc. If
12 * we want to do logging from, e.g. inside ClientBuild, then the fact
13 * that EventLogger's logging functions take the current client
14 * command as an argument, this creates a circular dependency
16 * ClientBuild -> EventLogger -> ClientCommand
17 * ^-------------------------------v
19 * To avoid this, we have here a stripped-down version of
20 * ClientCommand.command where the data carried by each branch is only
21 * the data required for logging. *)
24 | LCCheck
of Path.t
* (* from *) string * (* mode *) string
30 * [ `Push
| `Full
| `Incremental
| `Steps
]
31 * (* random id *) string