aboutsummaryrefslogtreecommitdiff
path: root/internal/cond/eval.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cond/eval.go')
-rw-r--r--internal/cond/eval.go13
1 files changed, 5 insertions, 8 deletions
diff --git a/internal/cond/eval.go b/internal/cond/eval.go
index 1147c05..2c35dba 100644
--- a/internal/cond/eval.go
+++ b/internal/cond/eval.go
@@ -26,8 +26,7 @@ type Facts interface {
Duplicate(dirs []string) (original string, ok bool, err error)
// Matched reports whether an earlier rule matched this file, and whether
// an earlier rule could not be decided (its condition was unknown): with
- // no match and an undecided rule, (matched) is unknown (plan 11 review
- // L6).
+ // no match and an undecided rule, (matched) is unknown.
Matched() (matched, undecided bool)
}
@@ -40,12 +39,11 @@ type Result struct {
// Unreadable is true when the condition's value is unknown: it depends
// on a content test that could not read the file. Match is then false;
- // an exclude holds anyway (review M11). A condition decided whatever the
- // text holds - (and (content "x") (type txt)) on a pdf - is not
- // unknown (plan 11).
+ // an exclude holds anyway. A condition decided whatever the text holds
+ // - (and (content "x") (type txt)) on a pdf - is not unknown.
Unreadable bool
// Undecided says what made the value unknown: "content unreadable",
- // "duplicate check failed", or both, comma-separated (plan 12).
+ // "duplicate check failed", or both, comma-separated.
Undecided string
}
@@ -95,8 +93,7 @@ func (ctx *evalCtx) undecidedLabel() string {
}
// undecidable reports whether a leaf whose fact could not be read is
-// unknown rather than false: a content test (review M11) or a duplicate
-// test (plan 12).
+// unknown rather than false: a content test or a duplicate test.
func undecidable(k kind) bool {
return k == kContent || k == kDuplicate
}