- Breaking! Changed signature for
chown
method. now it receives one more argumentrecursive
that is placed beforefollowSymlink
. Thus is may be incompatible with 1.x.x version
- Added new methods to
Path
struct:driveName
that returns Windows drive namestripDrive
that returns path without drive partstripExt
that returns path without extension
- Updated doc on
withExt
method, to clarify differents wtihstd.path.withExtension
.
- Added new method
chown
- Add tempFile static method that allows to open temporary files.
- Remove deprecated
execute
method. Use TheProcess instead
-
Added new param to
Path.parent
method -absolute
, that is by default set totrue
(to keep backward compatibility). If this param is set tofalse
, then path will not be converted to absolute path before computing parent path, thus it will be possible to get non-absolute parent path from non-absolute path. For example:Path("parent", "child").parent == Path.current.join("parent"); Path("parent", "child").parent(false) == Path("parent");