This commit is contained in:
Simon Cruanes 2014-11-23 14:08:48 +01:00
parent 6e3b0f534a
commit a7657883e4
2 changed files with 1 additions and 2 deletions

View file

@ -26,7 +26,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
(** {1 IO Utils} *)
type 'a or_error = [ `Ok of 'a | `Error of string ] (** See {!CCError} *)
type 'a gen = unit -> 'a option (** See {!CCGen} *)
let with_in ?(mode=0o644) ?(flags=[]) filename f =

View file

@ -59,7 +59,6 @@ Examples:
]}
*)
type 'a or_error = [ `Ok of 'a | `Error of string ] (** See {!CCError} *)
type 'a gen = unit -> 'a option (** See {!CCGen} *)
(** {2 Input} *)
@ -128,6 +127,7 @@ See {!File.walk} if you also need to list directories:
{[
# let content = CCIO.File.walk (CCIO.File.make "/tmp");;
# CCGen.map CCIO.File.show_walk_item content |> CCIO.write_lines stdout;;
]}
*)
module File : sig