|
Packit |
9ff65e |
${"% OCaml Fileutils "}
|
|
Packit |
9ff65e |
|
|
Packit |
9ff65e |
ocaml-fileutils is a library of pure OCaml functions to manipulate real files and filenames.
|
|
Packit |
9ff65e |
|
|
Packit |
9ff65e |
|
|
Packit |
9ff65e |
|
|
Packit |
9ff65e |
Download version ${ocaml_fileutils.latest.version}
|
|
Packit |
9ff65e |
|
|
Packit |
9ff65e |
|
|
Packit |
9ff65e |
|
|
Packit |
9ff65e |
Features of the project:
|
|
Packit |
9ff65e |
|
|
Packit |
9ff65e |
* pure OCaml
|
|
Packit |
9ff65e |
* file functions inspired from GNU fileutils (aiming to be POSIX compatible)
|
|
Packit |
9ff65e |
* cp: copy files and directories
|
|
Packit |
9ff65e |
* mv: rename files and directories
|
|
Packit |
9ff65e |
* rm: remove files and directories
|
|
Packit |
9ff65e |
* test: check file types and compare values
|
|
Packit |
9ff65e |
* find: find files that match certain criteria
|
|
Packit |
9ff65e |
* mkdir: create directory and its parents
|
|
Packit |
9ff65e |
* ls: list content of a directory
|
|
Packit |
9ff65e |
* touch: change file timestamps
|
|
Packit |
9ff65e |
* which: locate a command
|
|
Packit |
9ff65e |
* readlink: resolve symlink
|
|
Packit |
9ff65e |
* du: compute disk usage
|
|
Packit |
9ff65e |
* stat: abstract of Unix.stat
|
|
Packit |
9ff65e |
* cmp: compare files
|
|
Packit |
9ff65e |
* chmod: change permissions of a file
|
|
Packit |
9ff65e |
* filename functions support Win32/Unix/MacOS and Cygwin filenames:
|
|
Packit |
9ff65e |
* Compare: is_subdir, is_updir, compare
|
|
Packit |
9ff65e |
* Transform: make_absolute, make_relative, reduce
|
|
Packit |
9ff65e |
* Extension: chop_extension, check_extension
|
|
Packit |
9ff65e |
|
|
Packit |
9ff65e |
You can browse the online API documentation of the latest version.
|
|
Packit |
9ff65e |
|
|
Packit |
9ff65e |
* [API for version ${ocaml_fileutils.latest.version}, the latest stable version](api-fileutils/index.html)
|
|
Packit |
9ff65e |
% for version in ocaml_fileutils_doc.others:
|
|
Packit |
9ff65e |
* [API for version ${version.version}](api-fileutils-${version.version}/index.html)
|
|
Packit |
9ff65e |
% endfor
|
|
Packit |
9ff65e |
* [API for the version under development](api-fileutils-dev/index.html)
|