SwiftextensionNotesShared
extension NSFileManager
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
extends{}
classNSFileManager
Members 7
- func
contents(of: Foundation.URL) throws -> Foundation.Data - func
contentsOfDirectory(at: Foundation.URL) throws -> [Foundation.URL] - func
createDirectory(at: Foundation.URL, withIntermediateDirectories: Bool) throws -> () - func
createFile(at: Foundation.URL, contents: Foundation.Data) throws -> () - func
itemExists(at: Foundation.URL) -> (itemExists: Bool, isDirectory: Bool) - func
subdirectoriesOfDirectory(at: Foundation.URL) throws -> [Foundation.URL] - func
url(for: NSSearchPathDirectory) throws -> Foundation.URL
Header
extension __C.NSFileManager { func createFile(at: Foundation.URL, contents: Foundation.Data) throws func itemExists(at: Foundation.URL) -> (itemExists: Swift.Bool, isDirectory: Swift.Bool) func createDirectory(at: Foundation.URL, withIntermediateDirectories: Swift.Bool) throws func contentsOfDirectory(at: Foundation.URL) throws -> [Foundation.URL] func subdirectoriesOfDirectory(at: Foundation.URL) throws -> [Foundation.URL] func url(for: __C.NSSearchPathDirectory) throws -> Foundation.URL func contents(of: Foundation.URL) throws -> Foundation.Data }