]> matita.cs.unibo.it Git - helm.git/blobdiff - components/extlib/hExtlib.mli
added is_writabledir to extlib
[helm.git] / components / extlib / hExtlib.mli
index 5b467d00577fb71a44296fc54d537b4301d31453..99727331a601c6fc90f7bba439bedcf379ae44d9 100644 (file)
@@ -32,6 +32,7 @@ val unopt: 'a option -> 'a  (** @raise Failure *)
 (** {2 Filesystem} *)
 
 val is_dir: string -> bool  (** @return true if file is a directory *)
+val writable_dir: string -> bool  (** @return true if the directory is writable *)
 val is_regular: string -> bool  (** @return true if file is a regular file *)
 val mkdir: string -> unit (** create dir and parents. @raise Failure *)
 val tilde_expand: string -> string  (** bash-like (head) tilde expansion *)