Skip to main content

Module pr_comments

Module pr_comments 

Source

Structs§

CommentArgs
CommentView

Functions§

build_payload
Builds the request body, rejecting flag combinations the API cannot honour.
comment
partition
Splits comments into general and inline buckets, oldest first. The unresolved filter applies only to inline threads — general comments are not resolvable in the Bitbucket API and are always kept.
resolve
Marks a comment thread as resolved. Bitbucket resolves the whole thread, so comment is the id of its root — the entry bb pr view reports without a parent. The response body carries only the resolution, which adds nothing the caller does not already know, so it is discarded.
unresolve
Reopens a resolved thread. This is not gated: it restores a reviewer’s point rather than hiding one, so the worst case is noise a human can see.
view