Skip to main content

partition

Function partition 

Source
pub fn partition(
    comments: Vec<Comment>,
    unresolved: bool,
) -> (Vec<CommentView>, Vec<CommentView>)
Expand description

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.