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

Do now follow symlinks in download_url() #135

Closed
wants to merge 1 commit into from

Conversation

hagenw
Copy link
Member

@hagenw hagenw commented Jan 18, 2024

Based on #132 this changes audeer.download_url() to call audeer.path(..., follow_symlink=False) to make it faster when used in a loop. It does not have an effect on its behavior, but introduces a breaking change as it now returns a symlink and not the realpath if destination was given as a symlink.

Copy link

codecov bot commented Jan 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (dc375de) 100.0% compared to head (fd52eee) 100.0%.

Additional details and impacted files
Files Coverage Δ
audeer/core/io.py 100.0% <100.0%> (ø)

@hagenw
Copy link
Member Author

hagenw commented Jan 22, 2024

This is no longer needed as it is the new default, see #140

@hagenw hagenw closed this Jan 22, 2024
@hagenw hagenw deleted the folow-symlinks-only-if-needed branch January 22, 2024 08:52
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.

1 participant