radicle: rename resolved to is_resolved

The standard in the codebase for boolean methods is to prefix them
with `is_`.

Change `resolved` to `is_resolved`.

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
This commit is contained in:
Fintan Halpenny
2024-02-23 13:56:19 +01:00
committed by cloudhead
parent 87077d5155
commit 67e46952b6
+3 -3
View File
@@ -213,7 +213,7 @@ fn issue_comment(id: &CommentId, comment: &Comment, aliases: &impl AliasStore) -
).collect::<Vec<_>>(),
"timestamp": comment.timestamp().as_secs(),
"replyTo": comment.reply_to(),
"resolved": comment.resolved(),
"resolved": comment.is_resolved(),
})
}
@@ -235,7 +235,7 @@ fn patch_comment(
"timestamp": comment.timestamp().as_secs(),
"replyTo": comment.reply_to(),
"location": comment.location(),
"resolved": comment.resolved(),
"resolved": comment.is_resolved(),
})
}
@@ -257,7 +257,7 @@ fn review_comment(
"timestamp": comment.timestamp().as_secs(),
"replyTo": comment.reply_to(),
"location": comment.location(),
"resolved": comment.resolved(),
"resolved": comment.is_resolved(),
})
}