Warning, /network/kdeconnect-ios/KDE Connect/KDE Connect/Swift Backend/BackgroundService+Extensions.swift is written in an unsupported language. File is not indexed.

0001 /*
0002  * SPDX-FileCopyrightText: 2021 Lucas Wang <lucas.wang@tuta.io>
0003  * SPDX-FileCopyrightText: 2022 Claudio Cambra <claudio.cambra@gmail.com>
0004  *
0005  * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0006  */
0007 
0008 //
0009 //  BackgroundService+Extensions.swift
0010 //  KDE Connect
0011 //
0012 //  Created by Claudio Cambra on 25/5/22.
0013 //
0014 
0015 import Foundation
0016 
0017 // MARK: - Migration
0018 
0019 // This section contains code that keeps the project compiling, but
0020 // TODO: needs migration
0021 
0022 // Please always use the non-deprecated spelling if possible, and
0023 // follow the compiler warnings when ready to migrate existing code
0024 // after uncommenting lines containing `@available`
0025 
0026 extension BackgroundService {
0027     // @available(*, deprecated, renamed: "devices")
0028     // swiftlint:disable:next identifier_name
0029     var _devices: [String: Device] {
0030         return devices
0031     }
0032 }