Skip to content

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

Merged
designatednerd merged 1 commit intomainfrom
fix/file_vs_folder
Dec 16, 2020
Merged

Add and test validation of multiple vs. single file urls#1580
designatednerd merged 1 commit intomainfrom
fix/file_vs_folder

Conversation

@designatednerd
Copy link
Copy Markdown
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