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