mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
fix doc
This commit is contained in:
parent
6e3b0f534a
commit
a7657883e4
2 changed files with 1 additions and 2 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue