diff options
| author | Joey Hess <joeyh@joeyh.name> | 2015-10-16 15:31:18 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2015-10-16 15:34:24 -0400 |
| commit | 7f7249f801653e0bd7fa083ed001bf3c5a3c3900 (patch) | |
| tree | 30c1234ca7e5212f7e597ac397155b1e3270762d /src/Utility/Process.hs | |
| parent | 556cba2f6d0a85545d9a81baf66dbc848fff848e (diff) | |
add a LinkTarget type to disambiguate parameters of isSymlinkedTo
Something about making symlinks is very confusing about which parameter is
which. It perhaps doesn't help that isSymlinkedTo has the target second,
while ln has it first. Let's use a type to prevent confusion.
Also, simplified some properties that now use isSymlinkedTo. Since
isSymlinkedTo checks the link target, these properties don't need to check
themselves that the link is in place.
Diffstat (limited to 'src/Utility/Process.hs')
0 files changed, 0 insertions, 0 deletions
