symbolic-link: Symlink tools

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Tools for working with symbolic links on POSIX systems.


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.1.0.2, 0.1.1.1
Change log CHANGELOG.md
Dependencies base (>=4.12.0.0 && <4.13), directory (>=1.3.3.0 && <1.4), unix (>=2.7.2.2 && <2.8), yaml (>=0.11.1.0 && <0.12) [details]
License BSD-3-Clause
Author Fuzz Leonard
Maintainer fuzz@kt-22.com
Category System
Home page https://github.com/fuzz/symbolic-link
Source repo head: git clone git@github.com:fuzz/symbolic-link.git -b master
this: git clone git@github.com:fuzz/symbolic-link.git -b master(tag 0.1.0.0)
Uploaded by fuzz at 2019-08-01T21:24:18Z

Modules

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for symbolic-link-0.1.0.0

[back to package description]

SymbolicLink

SymbolicLink provides tools for working with symbolic links on POSIX systems.

The executable symlink changes to the user's home directory, reads in a sequence of source/target mappings from a YAML file in .symlinks and attempts to create them. If the target exists and is a symbolic link it will be removed and replaced, otherwise symlink will refuse to clobber it.

The function filePathExist works like System.Posix.Files.fileExist but does not follow the symlink, thus making it suitable for working with unreferenced symlinks. Unreferenced symlinks are not necessarily "broken"; one should not have to handle exceptions to work with them.