What is the best way to work with the file system?

I recently looked into this a bunch. I tried to do a complete survey of all the possible APIs.

I went with FileManager.default.fileExists for my checks as well, but my version of async was just to call the function async and then... do nothing. ("I'll get back to it". Ha. )

I'm chiming in mostly because I saw the SwitNIO stuff when I was poking around and it does look great! That and

This is would be a great future direction!

If one had improvements to add... which API would be the most fruitful to learn better?

1 Like