all: reformat
This commit is contained in:
@@ -43,7 +43,6 @@ internal interface DeviceFS {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@OptIn(ExperimentalCoroutinesApi::class)
|
||||
private class DeviceFSImpl(
|
||||
private val contentResolver: ContentResolver,
|
||||
|
||||
@@ -1,10 +1,27 @@
|
||||
/*
|
||||
* Copyright (c) 2025 Auxio Project
|
||||
* DeviceFSEntries.kt is part of Auxio.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package org.oxycblt.musikr.fs.device
|
||||
|
||||
import android.net.Uri
|
||||
import kotlinx.coroutines.Deferred
|
||||
import org.oxycblt.musikr.fs.Path
|
||||
|
||||
|
||||
sealed interface DeviceFSEntry {
|
||||
val uri: Uri
|
||||
val path: Path
|
||||
@@ -24,4 +41,4 @@ data class DeviceFile(
|
||||
val mimeType: String,
|
||||
val size: Long,
|
||||
val parent: Deferred<DeviceDirectory>
|
||||
) : DeviceFSEntry
|
||||
) : DeviceFSEntry
|
||||
|
||||
Reference in New Issue
Block a user