Skip to content

Commit

Permalink
feat: Reorder functions in OCLocalFileDataSource
Browse files Browse the repository at this point in the history
  • Loading branch information
Aitorbp committed Mar 26, 2024
1 parent 06ecd0b commit ec30fb5
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,13 @@ class OCLocalFileDataSource(
it.toModel()
}

override fun getFilesWithLastUsageOlderThanGivenTime(milliseconds: Long): List<OCFile> =
fileDao.getFilesWithLastUsageOlderThanGivenTime(milliseconds).map {
override fun getFilesForAccount(owner: String): List<OCFile> =
fileDao.getFilesForAccount(accountOwner = owner).map {
it.toModel()
}

override fun getFilesForAccount(owner: String): List<OCFile> =
fileDao.getFilesForAccount(accountOwner = owner).map {
override fun getFilesWithLastUsageOlderThanGivenTime(milliseconds: Long): List<OCFile> =
fileDao.getFilesWithLastUsageOlderThanGivenTime(milliseconds).map {
it.toModel()
}

Expand Down

0 comments on commit ec30fb5

Please sign in to comment.