Fixed
- Remove useless dependencies (stdlib-shims and seq) which are shipped with OCaml 4.14+.
v0.6.5 - 2024-12-27
Fixed
cmp returns None when comparing two identical files and add some tests for that. (thanks to jamesjer).- require OCaml > 4.14, which is now the default in Debian stable.
v0.6.4 - 2022-10-28
Fixed
- Fix documentation for FilePath.is_updir and FilePath.is_subdir. Thanks to dmbaturin for the contribution.
- Support for OCaml 5 (thanks to Leonidas-from-XIV and kit-ty-kate)
v0.6.3 - 2020-07-11
Fixed
- Fix mkdir when trying to create directory with ~parent:true and a directory ending with "/". For example:
mkdir ~parent:true "non-existent/"
(Closes: #14)
v0.6.2 - 2020-03-26
Fixed
Improve documentation:
- hide modules for the implementation.
- clarify usage of chop_extension/add_extension.
- Move fileutils and fileutils.str in their own directories.
v0.6.1 - 2019-09-12
Fixed
- Migrate the build system to dune (thanks to zapashcanon).
- Migrate CHANGELOG to CHANGES for dune-release.
v0.6.0 - 2019-08-25
Fixed
- Migrate CHANGELOG to [Keep a Changelog] format.
- umask returns 0 on Windows, this is consistent with Perl, Python and Ruby behavior. Thanks to @dmbaturin.
Removed
- Support for MacOS 9, since OCaml doesn't support it since 3.09 (Closes: #8).
v0.5.3 - 2017-11-12
Minor release:
- Use bytes rather than string to be compatible with OCaml 4.06.0. (Closes: #5)
v0.5.2 - 2017-05-23
Minor release:
- Test file existence with Unix.LargeFile.lstat in FileUtilRM. (Closes: OF#1749)
v0.5.1 - 2016-11-02
Minor release:
- Fix non POSIX behavior of cp with links when "recurse:false". (Closes: OF#1649)
v0.5.0 - 2015-07-10
- Major release to account all the API changes:
Rebuild the exception/reporting framework:
- Remove exceptions in favor of a single exception per command and a polymorphic variant tag.
- Use a reporting function that can be passed as a parameter [?error:'a error_handler] to most of the functions.
- Reimplement functions to be more POSIX compliant implementation (Closes: OF#761): (functions: cp, umask, chmod, mkdir, rm, mv, touch)
Make sure dead symlinks are handled properly (Closes: OF#712, OF#711):
- derefenced when needed (functions: test)
- offer the choice when possible (function: stat)
- Implement symbolic mode that may have contextual meaning.
- Improve documentation (add links to POSIX doc, reorganize content in section).
- Split FileUtil.ml into multiple files.
- Implement chmod (Closes: OF#416).
- [cp] now propagate timestamp when invoked with [~preserve] (Closes: OF#709).
- Upgrade OUnit to OUnit2.
- Fix typo in cp (Closes: OF#816, OF#1317).
v0.4.5 - 2013-06-03
- Fix fd leaking cmp (Closes: OF#1012).
- Fix test suite for BSD system.
v0.4.4 - 2012-06-12
- Regenerate with oasis 0.3.0~rc6
v0.4.3 - 2011-05-26
v0.4.2 - 2010-09-06
- Apply patch from Rüdiger Schmitt, fix handling for '.' in find and ls (Close: OF#418, OF#736)
v0.4.1 - 2010-09-01
- Apply patch from S. Glondu to use the right find function in FileUtilStr (Closes: OF#731)
- Fix some typo in documentation
- Apply patch from Debian to use a byte plugin for ocamlbuild
v0.4.0 - 2009-09-09
v0.3.0
- Change the version to 0.3 (lot of changes for a minor version)
- Update webpages
- Correct a bug that prevent sr@Ltn to be parsed (which comes from the lexer of UnixPath, there is [^'.''/''\']* which can produce empty token)
- Correct a bug that prevent to parse the initial current dir (ie produce nothing when use find "." or find "/a/")
v0.2.2
v0.2.1
- Minor bug fixes to correct website aspect
v0.2.0
- Use module/functor to abstract a lot of operation.
- Generate a decent ocamldoc documentation
- Abstract regexp matching using functor
- Separate the sysPath modules in two: Abstract and not. Abstract permits to parse once and for all the filename, and then operate on it. It allows to handle fast all operation. Concrete module are only proxy that do the conversion to/from the Abstract implementation.
- Introduce relation (updir, subdir, compare) to allow manipulating filename in classical structure (Set, Map...)
- Rename sysPath, sysUtil to filePath, fileUtil since it appears that it is more consistent regarding the name of the library (i was not convinced, that sysPath represents anything).
v0.1.1 - 2004-01-30
BTS references
- FS#XX: Flyspray BTS (pre-2008)
- OF#XX: OCaml Forge BTS (pre-2019)