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

Add and test validation of multiple vs. single file urls #1580

Merged
merged 1 commit into from
Dec 16, 2020

Conversation

designatednerd
Copy link
Contributor

Addresses concerns raised by #1557.

One thing that's a bit annoying is that the underlying foundation API can only determine if something is a directory URL or not for a url where something already exists, if the directory hasn't already been created, we can't check it. For a file, we're essentially just checking that the last file extension is .swift, since there's not really a great way to check it otherwise.

@designatednerd designatednerd added this to the Next Release milestone Dec 16, 2020
@designatednerd designatednerd merged commit e9ff131 into main Dec 16, 2020
@designatednerd designatednerd deleted the fix/file_vs_folder branch December 16, 2020 23: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