-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* FileUtils: Add `ln`, `ln_s`, and `ln_sf` These new methods in the FileUtils module are based largely on their Ruby equivalents. The major difference between this and the Ruby implementation is that `ln` and `ln_s` raise `ArgumentError`s in Crystal on errors, while Ruby raises `Errno`. Other than that, the only differences are the lack of an `options` argument (consistent with other Crystal `FileUtils` methods). * spec: Add FileUtils.ln_sf test for nonexistent dest
- Loading branch information
Showing
2 changed files
with
339 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters