module Adaptor:Record readers and splitters for a variety of file formats. Splitters get raw data fromsig..end
Line.raw and use it to set
other line fields.
Each adaptor module typically contains three functions:
adaptor maps a LineShtream.initial LineShtream.elem LineShtream.t
to contain the specified data; if the shtream is being read from a
channel, then it hints to the source shtream the proper record
reader to use.reader is the record reader for the given kind of file.splitter is the field splitter that can be used on a single
record or mapped over a shtream.type('a -> 'b)splitter ='a Line.t -> 'b Line.t
('a -> 'b) splitter takes 'a Line.t to 'b Line.t.
Record readers and splitters for a variety of file formats.
Splitters get raw data from Line.raw and use it to set
other line fields.
Each adaptor module typically contains three functions:
adaptor maps a LineShtream.initial LineShtream.elem LineShtream.t
to contain the specified data; if the shtream is being read from a
channel, then it hints to the source shtream the proper record
reader to use.reader is the record reader for the given kind of file.splitter is the field splitter that can be used on a single
record or mapped over a shtream.type('a -> 'b)adaptor ='a Line.t Shtream.t -> 'b Line.t Shtream.t
Line.raw and use it to set
other line fields.
Each adaptor module typically contains three functions:
adaptor maps a LineShtream.initial LineShtream.elem LineShtream.t
to contain the specified data; if the shtream is being read from a
channel, then it hints to the source shtream the proper record
reader to use.reader is the record reader for the given kind of file.splitter is the field splitter that can be used on a single
record or mapped over a shtream.type('a -> 'b)fitting_adaptor =unit -> ('a Line.t -> 'b Line.t) Fitting.t
Line.raw and use it to set
other line fields.
Each adaptor module typically contains three functions:
adaptor maps a LineShtream.initial LineShtream.elem LineShtream.t
to contain the specified data; if the shtream is being read from a
channel, then it hints to the source shtream the proper record
reader to use.reader is the record reader for the given kind of file.splitter is the field splitter that can be used on a single
record or mapped over a shtream.val make_adaptor : ?reader:Reader.t -> ('a -> 'b) splitter -> ('a -> 'b) adaptormodule Convert:sig..end
module Delim:sig..end
module SimpleFlatFile:sig..end
module Key_value:sig..end
module Key_value_section:sig..end
module Csv:sig..end
module Passwd:sig..end
module Group:sig..end
module Fstab:sig..end
module Stat:sig..end
module Ps:sig..end
module Mailcap:sig..end
module Ssh_config:Key_value_section.S
module Etc_aliases:Key_value.S
module Etc_hosts:Key_value.S
module Ini_file:Key_value_section.S