module Input: sig
.. end
Input routines
val gzip_open_file : string -> IO.input
load a file in gzip format
Returns ExtLib.IO.input channel
val bzip_open_file : string -> IO.input
load a file in bzip format - Not implemented yet
Returns ExtLib.IO.input channel
val std_open_file : string -> IO.input
load a non compressed file
Returns ExtLib.IO.input channel
val open_file : string -> IO.input
load a file either in gzip, bzip or not compressed format
Returns ExtLib.IO.input channel
val open_ch : Pervasives.in_channel -> IO.input
val close_ch : IO.input -> unit
val parse_uri : string ->
Url.input_scheme *
(string option * string option * string option * string option * string) *
string option
parse a uri.
i.e. :
deb://path/to/file
rpm://path/to/file
pgsql://test:tester
Returns a tuple representing the uri