marionnet-dev team mailing list archive
-
marionnet-dev team
-
Mailing list archive
-
Message #00680
[Branch ~marionnet-drivers/ocamlbricks/trunk] Rev 385: Added module UnixExtra.Dir to manipulate directory entries. Signature:
------------------------------------------------------------
revno: 385
committer: Jean-Vincent Loddo <loddo@xxxxxxxxxxxxxxxxxxxx>
branch nick: ocamlbricks
timestamp: Fri 2013-11-15 18:43:16 +0100
message:
Added module UnixExtra.Dir to manipulate directory entries. Signature:
module Dir : sig
type t = string (* A directory is represented by a string, as usual *)
val iter : ?entry_kind:Unix.file_kind -> ?follow:unit -> (string -> unit) -> t -> unit
val to_list : ?entry_kind:Unix.file_kind -> ?follow:unit -> t -> string list
val map : ?entry_kind:Unix.file_kind -> ?follow:unit -> (string -> 'a) -> t -> 'a list
val fold : ?entry_kind:Unix.file_kind -> ?follow:unit -> ('a -> string -> 'a) -> 'a -> t -> 'a
val iter_with_kind : ?follow:unit -> (string -> Unix.file_kind -> unit) -> t -> unit
val to_list_with_kind : ?follow:unit -> t -> (string * Unix.file_kind) list
val map_with_kind : ?follow:unit -> (string -> Unix.file_kind -> 'a) -> t -> 'a list
val fold_with_kind : ?follow:unit -> ('a -> string -> Unix.file_kind -> 'a) -> 'a -> t -> 'a
end (* Dir *)
modified:
EXTRA/unixExtra.ml
EXTRA/unixExtra.mli
--
lp:ocamlbricks
https://code.launchpad.net/~marionnet-drivers/ocamlbricks/trunk
Your team marionnet-dev is subscribed to branch lp:ocamlbricks.
To unsubscribe from this branch go to https://code.launchpad.net/~marionnet-drivers/ocamlbricks/trunk/+edit-subscription