package spin

  1. Overview
  2. Docs
type source =
  1. | Git of Spin_std.string
  2. | Local_dir of Spin_std.string
  3. | Official of (module Spin_template.Template)
type example_command = {
  1. name : Spin_std.string;
  2. description : Spin_std.string;
}
val source_of_string : Spin_std.string -> source Spin_std.Option.t
val source_to_dec : source -> Dec_common.Source.t
val read_source_spin_file : ?download_git:Spin_std.bool -> source -> (Dec_template.t, Spin_error.t) Lwt_result.t
val read_source_template_files : ?download_git:Spin_std.bool -> source -> ((Spin_std.string, Spin_std.string) Spin_std.Hashtbl.t, Spin_error.t) Lwt_result.t
val of_dec : ?use_defaults:Spin_std.bool -> ?files:(Spin_std.string, Spin_std.string) Spin_std.Hashtbl.t -> ?ignore_configs:Spin_std.bool -> ?ignore_actions:Spin_std.bool -> ?ignore_example_commands:Spin_std.bool -> ?ignore_generators:Spin_std.bool -> source:source -> context:(Spin_std.string, Spin_std.string) Spin_std.Hashtbl.t -> Dec_template.t -> (t, Spin_error.t) Lwt_result.t
val read : ?use_defaults:Spin_std.bool -> ?ignore_configs:Spin_std.bool -> ?ignore_actions:Spin_std.bool -> ?ignore_example_commands:Spin_std.bool -> ?ignore_generators:Spin_std.bool -> ?context:(Spin_std.string, Spin_std.string) Spin_std.Hashtbl.t -> source -> (t, Spin_error.t) Lwt_result.t
OCaml

Innovation. Community. Security.