Feature#conflict? -> Feature#invalid?

This commit is contained in:
0x1eef 2024-03-20 19:10:35 -03:00
parent 427165d1b7
commit 000568a82e

View file

@ -93,10 +93,10 @@ module BSD::Control
# The path to a file.
#
# @return [Boolean]
# Returns true when a feature is in conflict
# (i.e: the feature is both enabled and disabled at the same time).
def conflict?(path)
status(path) == :conflict
# Returns true when a feature is in an invalid state
# (eg: the feature is both enabled and disabled at the same time).
def invalid?(path)
status(path) == :invalid
end
##