caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] [ANN] ocaml-fileutils v 0.3.0
@ 2004-06-29 20:27 Sylvain LE GALL
  0 siblings, 0 replies; only message in thread
From: Sylvain LE GALL @ 2004-06-29 20:27 UTC (permalink / raw)
  To: caml-list

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-06-29 20:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-29 20:27 [Caml-list] [ANN] ocaml-fileutils v 0.3.0 Sylvain LE GALL

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).