html-ui.branch-status-in
- description
- The status name (core.branch-status-name) of the branch of the project in statuses (definy.branch-statuses). '' if it is not there (main)
- type
Fn( statuses: List<Record{project_name: String, branch: String, status: @core.branch-status}>, project: String, branch: String ) -> String- expression
fn(statuses$0, project$1, branch$2) => @core.list-fold( T: Record{project_name: String, branch: String, status: @core.branch-status}, A: String, reducer: fn(acc$3, item$4) => match @core.and( left: @core.equal(left: $4.project_name, right: $1), right: @core.equal(left: $4.branch, right: $2) ) { true => @core.branch-status-name(status: $4.status), false => $3 }, init: "", xs: $0 )
- visibility
- public
html-ui.branch-status-in (project html-ui, branch main, snapshot Daaw3vbJhY15cDW6JsA4JuXvffjj_qFyxoZQMUM8hvQ) id: WuadX4knbQlA3WYXlZ2P3niYYgnPXHloq5RPhOzYNzA content hash: i7OqesE9mPXSx9w7U0nRGwoS41-kZ8E3YPbJao4JYKk