     override func providePlaceholder(at url: URL, completionHandler: @escaping (Error?) -> Void) {
         NSLog("providePlaceholder \(url)")
         do {
-            try fileManager.createDirectory(at: url.deletingLastPathComponent(), withIntermediateDirectories: true, attributes: nil)
+            try fileManager.createDirectory(at: url.deletingLastPathComponent(),
+                                            withIntermediateDirectories: true,
+                                            attributes: nil)
             fileManager.createFile(atPath: url.path, contents: nil, attributes: nil)
             completionHandler(nil)
         } catch let e {

        return enumerator
    }

    private func create(entryObjects: [EntryObject], parentItemIdentifier: NSFileProviderItemIdentifier) -> [GithubObjectItem] {
        // Because realm cannot pass object between threads, I create items twice for display and for saving.
        let items = { () in
            return entryObjects.map {
                FileItem(entryObject: $0, parentItemIdentifier: parentItemIdentifier).build()
            }
        }


    // swiftlint:disable:next line_length
    override func enumerator(forContainerItemIdentifier containerItemIdentifier: NSFileProviderItemIdentifier) throws -> NSFileProviderEnumerator {
        let maybeEnumerator: NSFileProviderEnumerator? = nil
        if containerItemIdentifier == NSFileProviderItemIdentifier.rootContainer {
            let items = repositories.map { (repository: (String, String)) -> RepositoryItem in
                let (owner, name) = repository
                return RepositoryItem(owner: owner, name: name)
            }
            return ArrayEnumerator(items: items)
        } else if containerItemIdentifier == NSFileProviderItemIdentifier.workingSet {
            // TODO: instantiate an enumerator for the working set
        } else if containerItemIdentifier == NSFileProviderItemIdentifier.allDirectories {
            // TODO: instantiate an enumerator that recursively enumerates all directories
        } else {
            if let (owner, name) = RepositoryItem.parse(itemIdentifier: containerItemIdentifier) {
