Repositories / gitweb2.git
src/gitweb2.mli
Clone (read-only): git clone http://git.guha-anderson.com/git/gitweb2.git
type response = {
status : int;
headers : (string * string) list;
body : string;
}
type config = {
root : string;
host : string;
port : int;
pygments_command : string;
public_url : string option;
}
val default_host : string
val default_port : int
val default_pygments_command : string
val parse_args : string array -> (config, string) result
val route : ?pygments_command:string -> ?clone_base:string -> root:string -> string -> response
val start : config -> unit
val file_render : ?pygments_command:string -> file_path:string -> string -> string
val run : string array -> unit