core.branch-status-from-name
- description
- The branch status of a name (in_progress, review or done; core.branch-status-name). none for another name
- type
Fn(name: String) -> Union{#none, #some(@core.branch-status)}- expression
fn(name$0) =>
match $0 {
"in_progress" =>
#some(#in_progress<@core.branch-status>),
"review" =>
#some(#review<@core.branch-status>),
"done" =>
#some(#done<@core.branch-status>),
_ =>
#none
}- visibility
- public
core.branch-status-from-name (project definy, branch main, snapshot l0VFjJZP174d8CbZWFoujAGTYjgsQu4uTq5uWCZaXgo)
id: HbaD1CwtBG1Apbo_y08sDh490G4dtZbLEC5pZi64VSc
content hash: 1q38BaQoEViNja3TRnG9esX0gaWD1yhgJtUjJ8JKLgE