Skip to content

Conversation

Brunight
Copy link
Contributor

@Brunight Brunight commented Jun 3, 2024

This PR aims to add support for Symbolic Links while fetching directories for songs. It adds an util function called isPathADir that checks a given path or Dirent (fs.readdir return type) if it's a directory, then if it's a symbolic link, then if the symbolic link target is a directory, using synchronous fs functions. I've replaced all occurrences of .isDirectory() to this util function. Please tell me if I've missed something. Thanks!

@Sandakan
Copy link
Owner

Sandakan commented Jun 7, 2024

Thanks for the contribution @Brunight.

@Sandakan Sandakan merged commit ec922e2 into Sandakan:minor-release Jun 7, 2024
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.

2 participants