Module Async_find
module Options : sig ... endval next : t -> (string * Async.Unix.Stats.t) option Async.Deferred.tnext treturn the next file from the collection of valid files in t or None if no more files remain
val close : t -> unit Async.Deferred.tclose tdrops all the resources associated with t. Attempting to use t again will raise an exception. Any Find.t will be automatically closed after the last file is read by any means.
val iter : t -> f:((string * Async.Unix.Stats.t) -> unit Async.Deferred.t) -> unit Async.Deferred.titer t ~fcalls f on every file in t
val fold : t -> init:'a -> f:('a -> (string * Async.Unix.Stats.t) -> 'a Async.Deferred.t) -> 'a Async.Deferred.tfold t ~init ~ffolds f over the files in t
val to_list : t -> (string * Async.Unix.Stats.t) list Async.Deferred.tto_list treturns all of the remaining files in t as a list in the order they would have been returned by subsequent calls to next
val find_all : ?options:Options.t -> string -> (string * Async.Unix.Stats.t) list Async.Deferred.tfind_all ?options dirshort for to_list (create ?options dir)