FileProvider
public protocol FileProvider
Undocumented
-
Undocumented
Declaration
Swift
func fileExists(atPath: String) -> Bool
-
Undocumented
Declaration
Swift
func fileExists(atPath path: String, isDirectory: UnsafeMutablePointer<ObjCBool>?) -> Bool
-
Undocumented
Declaration
Swift
func removeItem(atPath: String) throws
-
Undocumented
Declaration
Swift
func createFile(atPath: String, contents: Data?, attributes: [FileAttributeKey : Any]?) -> Bool
-
Undocumented
Declaration
Swift
func createDirectory(atPath: String, withIntermediateDirectories: Bool, attributes: [FileAttributeKey : Any]?) throws
-
Undocumented
Declaration
Swift
func contentsOfDirectory(atPath path: String) throws -> [String]
-
Undocumented
Declaration
Swift
func attributesOfItem(atPath path: String) throws -> [FileAttributeKey : Any]
-
Undocumented
Declaration
Swift
var currentDirectoryPath: String { get }