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

feat: allow symlinks in library #1204

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

letsfindaway
Copy link
Collaborator

This PR addresses a small remark in #1167 (comment): It is currently not possible to use symlinks within the library folders, e.g. for images, video, audio or interactive content.

When using symlinks, there is a risk to create cyclic or duplicate structures . This might have been the reason to exclude symlinks when scanning the file system for such features.

This PR handles symlinks properly, still avoiding cacles and duplicates:

  • return symlinks in allElementsInDirectory
  • use a common file system walker for counting and scanning
  • skip symlinks leading to duplicate or recursive scans
  • remove obsolete non-threaded functions

See also letsfindaway#199

- return symlinks in allElementsInDirectory
- use a common file system walker for counting and scanning
- skip symlinks leading to duplicate or recursive scans
- remove obsolete non-threaded functions
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