Skip to content

Commit

Permalink
Merge pull request #596 from d4rken-org/systemcleaner_remove_unused_flag
Browse files Browse the repository at this point in the history
SystemCleaner: Remove unused flag sieve config
  • Loading branch information
d4rken authored Aug 19, 2023
2 parents 358ce6a + fcfcf39 commit d60d521
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,6 @@ class BaseSieve @AssistedInject constructor(
}
}

config.isEmpty?.let {
// Empty or not ?
if (it && subject.size > 0 || !it && subject.size == 0L) return Result(matches = false)
}

config.maximumSize?.let {
// Is our subject too large?
if (subject.size > it) return Result(matches = false)
Expand Down Expand Up @@ -296,7 +291,6 @@ class BaseSieve @AssistedInject constructor(
val pathExclusions: Set<SegmentCriterium>? = null,
val pfpExclusions: Set<SegmentCriterium>? = null,
val pathRegexes: Set<Regex>? = null,
val isEmpty: Boolean? = null,
val maximumSize: Long? = null,
val minimumSize: Long? = null,
val maximumAge: Duration? = null,
Expand Down

0 comments on commit d60d521

Please sign in to comment.