Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the default behavior of APIs to not follow symlinks #23

Merged
merged 3 commits into from Jun 1, 2017

Conversation

harendra-kumar
Copy link
Contributor

I have not tested this on Windows, as I do not have a windows setup. Could you please build and test for windows?

Fixes #12

@mrkkrp
Copy link
Owner

mrkkrp commented May 31, 2017

I'll review this in more detail soon. In the meantime, to fix the build, test component should depend on transformers because Control.Monad.IO.Class is not in base in older versions.

Copy link
Owner

@mrkkrp mrkkrp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, looks good. Please export isDirSymlink and I'll merge. I shall also setup an Appveyor account to test the library on Windows, as I do not have access to a Windows machine at this time as well.

Path/IO.hs Outdated
-- exceptions as 'listDir'.
-- XXX This can be exported as a utility function for use with walkdir for
-- excluding symlinks during traversal.
-- | Check if the given directory path is a symbolic link.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's export it with @since 1.3.0 annotation indeed. Also not to forget: add it to the changelog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants