Odoc docs
0

Configure Feed

Select the types of activity you want to include in your feed.

odd / lib / setup.mli
830 B 16 lines
1(** Configuration of the opam hooks (the three wrapper fields in 2 [~/.opam/config]). Changes are applied with the user's own [opam option], 3 never by writing the config file directly, so the file always matches the 4 opam version that owns it. *) 5 6val fields : exe:string -> (string * string * string) list 7(** The wrapper fields, the command to append to each, and a substring 8 identifying our command if already present. The per-package hooks are plain 9 coreutils ([mkdir]/[touch]/[rm]) so they work without odd installed; 10 only the post-session worker invokes the binary at [exe]. *) 11 12val print : exe:string -> unit 13(** Print the [opam option] invocations that {!apply} would run. *) 14 15val apply : exe:string -> (unit, [ `Msg of string ]) result 16(** Run them, skipping any field that already mentions [exe]. *)