JohnSundell / Files

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

Makes `FileSystemSequence` `CustomStringConvertible` #50

Closed gwikiera closed 6 years ago

gwikiera commented 6 years ago

Making FileSystemSequence CustomStringConvertible provides a better description, which is really helpful especially for debugging. For printing a folder's subfolders instead of:

<FileSystemSequence<Folder>: 0x102553ed0>

we will get:

Folder(name: folderA, path: path_to_folder/folderA/)
Folder(name: folderB, path: path_to_folder/folderB/)
JohnSundell commented 6 years ago

Released in https://github.com/JohnSundell/Files/releases/tag/2.1.0