Module Dose_common.Input
val open_file : string -> IO.inputload a file either in gzip, bzip or not compressed format
- returns
ExtLib.IO.input channel. Raise
File_emptyif the file is empty or fail if the file does not exist
val open_ch : Stdlib.in_channel -> IO.inputval close_ch : IO.input -> unitval parse_uri : string -> Url.filetypes * (string option * string option * string option * string option * string) * string optionparse a uri. i.e. : deb://path/to/file rpm://path/to/file cudf://path/to/file
- returns
a tuple representing the uri
val guess_format : string list list -> Url.filetypesguess the input format from a list of list of uris and check * if the list is omogenueous w.r.t the guessed format. Fails otherwise