Created
October 16, 2019 16:45
-
-
Save andrewwoz/07f27a845474bd805ed0b8e70665dd42 to your computer and use it in GitHub Desktop.
[Checking file access in swift] #fs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_ = fs.fileExists(atPath: filePath) | |
_ = fs.isReadableFile(atPath: filePath) | |
_ = fs.isWritableFile(atPath: filePath) | |
_ = fs.isDeletableFile(atPath: filePath) | |
_ = fs.isExecutableFile(atPath: filePath) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment