JohnSundell / Files

A nicer way to handle files & folders in Swift
MIT License
2.53k stars 182 forks source link

Static methods for creating files and folders. #92

Closed maximkrouk closed 5 years ago

maximkrouk commented 5 years ago

I didn't write tests, may be I'll do it later, if You won't c:, but folder creation worked fine (manually checked).

JohnSundell commented 5 years ago

I don't see how this is needed, given that there is Folder.root.createFile(at:). The bug fix for creating a file with content, I'm very interested in though. But since you're not willing to write tests, I'll fix that myself with a test in a separate PR. Thanks anyway.