SwiftextensionNotesShared

extension NSFileManager

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

extends{}

Members 7

  1. funccontents(of: Foundation.URL) throws -> Foundation.Data
  2. funccontentsOfDirectory(at: Foundation.URL) throws -> [Foundation.URL]
  3. funccreateDirectory(at: Foundation.URL, withIntermediateDirectories: Bool) throws -> ()
  4. funccreateFile(at: Foundation.URL, contents: Foundation.Data) throws -> ()
  5. funcitemExists(at: Foundation.URL) -> (itemExists: Bool, isDirectory: Bool)
  6. funcsubdirectoriesOfDirectory(at: Foundation.URL) throws -> [Foundation.URL]
  7. funcurl(for: NSSearchPathDirectory) throws -> Foundation.URL
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
}