Remove: unused simplePath from LocalFile object

This commit is contained in:
Nicholas Wallace
2025-04-14 19:10:23 -07:00
parent 0347e18d5b
commit 4d39e2fa36
2 changed files with 0 additions and 4 deletions
@@ -64,7 +64,6 @@ data class LocalFile(
var contentUrl: String, var contentUrl: String,
var basePath: String, var basePath: String,
var absolutePath: String, var absolutePath: String,
var simplePath: String,
var mimeType: String?, var mimeType: String?,
var size: Long var size: Long
) { ) {
@@ -78,7 +78,6 @@ class FolderScanner(var ctx: Context) {
Uri.fromFile(file).toString(), Uri.fromFile(file).toString(),
file.getBasePath(ctx), file.getBasePath(ctx),
file.absolutePath, file.absolutePath,
// file.getSimplePath(ctx),
file.mimeType, file.mimeType,
file.length() file.length()
) )
@@ -332,7 +331,6 @@ class FolderScanner(var ctx: Context) {
// val fileUri = docFile.uri.toString() // val fileUri = docFile.uri.toString()
// val fileBasePath = docFile.getBasePath(ctx) // val fileBasePath = docFile.getBasePath(ctx)
// val fileAbsolutePath = docFile.getAbsolutePath(ctx) // val fileAbsolutePath = docFile.getAbsolutePath(ctx)
// val fileSimplePath = docFile.getSimplePath(ctx)
// val fileMimeType = docFile.mimeType // val fileMimeType = docFile.mimeType
// val fileLength = docFile.length() // val fileLength = docFile.length()
// val fileName = docFile.name // val fileName = docFile.name
@@ -347,7 +345,6 @@ class FolderScanner(var ctx: Context) {
docFile.uri.toString(), docFile.uri.toString(),
docFile.getBasePath(ctx), docFile.getBasePath(ctx),
docFile.getAbsolutePath(ctx), docFile.getAbsolutePath(ctx),
// docFile.getSimplePath(ctx),
docFile.mimeType, docFile.mimeType,
docFile.length() docFile.length()
) )