Browse thread
[Caml-list] [ANN] ocaml-fileutils v 0.3.0
- Sylvain LE GALL
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Sylvain LE GALL <sylvain.le-gall@p...> |
| Subject: | [Caml-list] [ANN] ocaml-fileutils v 0.3.0 |
Hello all, I am pleased to announce a new release of ocaml-fileutils. This library implements some new function : - cmp : compare file - du : give the disk usage of some files - stat : abstraction of Unix.stat - readlink : return a path with link solved to real location This new version comes in particular with a rewritten "find" command which take an "exec" and "accu" parameter allowing to customize the operation done during the directory traversal. ( You can have the same behavior of the previous find command by this way : find test current_dir (fun lst fln -> fln :: lst) [] ). This new command embed a recursion prevention system, allowing not to traverse the same directory twice ( ie, it handles symlink like : ln -s . recurse ). Most of the command also provide a ~follow parameter which dictate the way ocaml-fileutils should follow symlink ( by default Skip, but can also be Follow, AskFollow, SkipInform... ) General : Ocaml fileutils is aimed to be a platform independent library to perform operation on file like : - mv - cp - rm - mkdir - touch - which... Comes also with a module to manipulate abstract filename : - classification - make_relative : made a filename relative to another - make_absolute :... Link : http://www.carva.org/sylvain.le-gall/ocaml-fileutils.html Kind regard Sylvain Le Gall ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners