Skip to main content

find_thread_by_id

Function find_thread_by_id 

Source
pub fn find_thread_by_id(
    db: &Db,
    project: &str,
    branch: &str,
    id: &str,
) -> Result<Option<ReviewThread>>
Expand description

Look up one thread by its globally-unique id in (project, branch). None when the branch has no such thread (or no row). comment_id in the review MCP maps to this id.