mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
Added @since NEXT_RELEASE.
This commit is contained in:
parent
4df8e2660c
commit
4f7e301527
1 changed files with 6 additions and 3 deletions
|
|
@ -151,13 +151,16 @@ module File : sig
|
|||
(** [remove_exn path] tries to remove the file at [path] from the
|
||||
file system.
|
||||
|
||||
{b Raises} [Sys_error] if there is no file at [path] *)
|
||||
{b Raises} [Sys_error] if there is no file at [path].
|
||||
@since NEXT_RELEASE *)
|
||||
|
||||
val remove : t -> unit or_error
|
||||
(** Like [remove_exn] but with an error monad. *)
|
||||
(** Like [remove_exn] but with an error monad.
|
||||
@since NEXT_RELEASE *)
|
||||
|
||||
val remove_noerr : t -> unit
|
||||
(** Like [remove_exn] but do not raise any exception on failure. *)
|
||||
(** Like [remove_exn] but do not raise any exception on failure.
|
||||
@since NEXT_RELEASE *)
|
||||
|
||||
val read_dir : ?recurse:bool -> t -> t gen
|
||||
(** [read_dir d] returns a sequence of files and directory contained
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue