Skip to content

Commit 83e8dd2

Browse files
alperozturk96backportbot[bot]
authored andcommitted
fix git conflict
Signed-off-by: alperozturk <[email protected]>
1 parent b574845 commit 83e8dd2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/src/main/java/com/nextcloud/client/jobs/autoUpload/FileSystemRepository.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ class FileSystemRepository(private val dao: FileSystemDao, private val context:
2828
const val BATCH_SIZE = 50
2929
}
3030

31+
suspend fun deleteByLocalPathAndId(path: String, id: Int) {
32+
dao.deleteByLocalPathAndId(path, id)
33+
}
34+
3135
suspend fun getFilePathsWithIds(syncedFolder: SyncedFolder, lastId: Int): List<Pair<String, Int>> {
3236
val syncedFolderId = syncedFolder.id.toString()
3337
Log_OC.d(TAG, "Fetching candidate files for syncedFolderId = $syncedFolderId")

0 commit comments

Comments
 (0)